light_environment
< Zh
Jump to navigation
Jump to search

This translated page needs to be updated.
You can help by updating the translation.
Also, please make sure the article complies with the alternate languages guide.
This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.
You can help by updating the translation.
Also, please make sure the article complies with the alternate languages guide.
This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.

light_environment
是一个点实体 ,可在所有的 起源 游戏中使用。 它从toolsskybox纹理投射平行定向照明以模拟从太阳或月亮投射的光线。


天空盒光照
主条目: skybox lighting
键值
- Pitch (pitch) <angle >
- 覆盖角度pitch值,即使保留为0也会覆盖,因此需要指定。与角度相反,这个pitch的旋转是从水平方向逆时针测量的,所以90是竖直向上的,而-90是竖直向下的。(它只是正常pitch的相反数。)
- HDR环境光(_ambientHDR) ([todo internal name (i)]) <color255 >
- 编译HDR照明时覆盖环境光。默认为
-1 -1 -1 1
,这意味着「与LDR相同」。
- HDR环境光比(_AmbientScaleHDR) <浮点型 >
- 用于编译HDR时缩放环境光的量。
- 太阳扩散角度(SunSpreadAngle) ([todo internal name (i)]) <浮点型 > (存在于自
以来)
- 用于投射柔和阴影的太阳的角度范围。数字越高越弥漫。5是一个很好的初始值。请记住:在阴天,阴影会变得模糊,因为太阳光会被云层扩散。对于雾霾天气,尝试90,对于阴天、雨天和雾天,使用135。如果你尝试夜间气氛,有时你需要高达180。你还必须关闭shadow_control 实体中的阿尔法阴影——尝试将阴影颜色(Shadow Color)变量调到如50 50 50这样的值。
- Pitch Yaw Roll (Y Z X) (angles) <QAngle >
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.