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

From Valve Developer Community
< Zh
Jump to navigation Jump to search
English (en)Русский (ru)中文 (zh)Translate (Translate)
Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article tries to comply with the alternate languages guide.


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

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

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

文章

实体

  • Light environment(en) - Both Direct and Diffuse light coming from the skybox(en) ("toolsskybox" texture).
  • env_sun(en) - places a glow sprite in the skybox to represent the sun itself.
  • Shadow control(en) - necessary to control the dynamic shadows cast by light_environment.
Note.png注意:Light environment(en), env_sun(en) and Shadow control(en) should be used together. Each entity represents only a one aspect of a naturally unified phenomenon; Sunlight. Light environment(en) defines the direct sunlight settings and creates (buggy, unconfigurable) dynamic shadows which can only be overridden/controlled by Shadow control(en). env_sun(en) 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(en) 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(en) Material Browser.
  • For smooth transitions between two types of material, such as grass to sand, use alpha blending with blend materials.

参见

外部链接