环境光照,太阳,天气及其它室外环境

From Valve Developer Community
Jump to: navigation, search
English Русский 


概括性的地图制作系列 讨论你的想法——帮助我们写你需要的文章和想法

弹药 | 生物 | 蚁狮 | 光束和激光 | 线缆和绳子 | 动态的天空与云雾 | 颜色理论 | 战斗 | 联合军 | | 尘土、雾、烟 | 升降机 | 环境光效、太阳、天气、室外 | 爆炸 | 火焰 | 植被 | 玻璃和窗户 | 梯子 | 光效 | 优化 | 物理 | 视网膜扫描仪 | 声效和音乐 | 特效 | 地形 | 火车 | 机枪塔 | | 僵尸

本篇给出了制作室外场景的链接(若需要在总体制图方面获取帮助,详见 分类:关卡设计。)

文章

实体

Note:light_environment:zh-cn, env_sun:zh-cn and shadow_control:zh-cn should be used together. Each entity represents only a one aspect of a naturally unified phenomenon; Sunlight. light_environment:zh-cn defines the direct sunlight settings and creates (buggy, unconfigurable) dynamic shadows which can only be overridden/controlled by shadow_control:zh-cn. env_sun:zh-cn places a glow sprite in the skybox where the sunlight comes from. To make sense of it all, just make sure that the <angles> (Pitch/Yaw/Roll) are set the same for all three entities. Unfortunately shadow_control:zh-cn does not have the Pitch override parameter, so its Pitch will be determined by the first of its <angles>. Even more unfortunately, the Pitch override rotation cannot be switched off and is measured counter-clockwise from the horizontal (so straight down is -90 degrees) whereas the <angles> Pitch is rotation is clockwise (so straight down is +90 degrees).

材质

  • Search for nature in the Hammer:zh-cn Material Browser.
  • For smooth transitions between two types of material, such as grass to sand, use alpha blending with blend materials.

参见

外部链接