Skybox lighting
< Tr
Jump to navigation
Jump to search
Skybox Lighting her toolsskybox dokusuna sahip brush'tan haritaya girerek, ay/güneş ışığını ve dağınık gölgeleri taklit eder. 3 ayrı nokta varlığı ile kontrol edilir (bazı oyunlarda 4):
- light_environment direkt güneş ışığının rengini, yönünü ve yoğunluğunu; dağınık güneş ışığının ise rengini ve yoğunluğunu belirler.
- shadow_control,
light_environment
tarafından yaratılan dynamic shadows'ların yönünü, rengini ve dağılma uzaklığını belirler . Bu varlık olmadan dinamik gölgeler bug'lı ve kontrolsüz olacaktır. - env_sun Güneşi taklit etme amacıyla gökyüzüne parlak bir obje yerleştirir.
- env_cascade_light genellikle light_environment varlığının özelliklerini kopyalayarak sert, gerçek-zamanlı gölgeler yaratır. (only in
)
Özetle, bu objelerden hepsini haritanıza koyduğunuzdan, ve Pitch and Yaw <angles> değerlerinin hepsinde aynı olduğundan emin olun. (Pitch Güneş'in yerden yüksekliği, ve Yaw pusuladaki yönüdür.)
These lighting settings - direction, color, brightness, etc are fairly specific to the actual image used for the 2D skybox. The Sky List article suggests some settings for official game skyboxes. The worldspawn entity defines which skybox to use. Also note that fog will look wrong if env_fog_controller's settings don't correspond to the particular skybox in use.

light_environment
and env_sun
, but not shadow_control
. The Pitch override also cannot be switched off and its rotation is measured counter-clockwise from the horizontal (so straight down is -90°) whereas the <angles> Pitch's rotation is clockwise (so straight down is +90°). The workaround for this is to make sure your Pitch override merely repeats the <angles> value; for example, if your shadow_control
, light_environment
and env_sun
<angles> are "45 -60 0", set the Pitch override to "-45".