Tr/Skybox lighting: Difference between revisions
< Tr
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
Ö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.) | Ö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.) | ||
Yön, renk, parlaklık vs. gibi özellikler aslında 2D Gökyüzü resimlerine özeldir. [[Sky List]] makalesi oyundaki resmi Gökyüzü resimleri için önerilen değerleri içerir. | |||
{ent|worldspawn}} objesi hangi [[Sky List|skybox]]'in kullanılacağını belirler. Ayrıca eğer {{ent|env_fog_controller}}'ın değerleri kullanılan Gökyüzü'yle aynı değilse kötü gözükebilir. | |||
{{Note|'''Pitch''' can be overriden for <code>light_environment</code> and <code>env_sun</code>, but not <code>shadow_control</code>. 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 <code>shadow_control</code>, <code>light_environment</code> and <code>env_sun</code> '''<angles>''' are "45 -60 0", set the '''Pitch''' override to "-45".}}{{clr}} | {{Note|'''Pitch''' can be overriden for <code>light_environment</code> and <code>env_sun</code>, but not <code>shadow_control</code>. 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 <code>shadow_control</code>, <code>light_environment</code> and <code>env_sun</code> '''<angles>''' are "45 -60 0", set the '''Pitch''' override to "-45".}}{{clr}} |
Revision as of 11:57, 9 November 2021
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.)
Yön, renk, parlaklık vs. gibi özellikler aslında 2D Gökyüzü resimlerine özeldir. Sky List makalesi oyundaki resmi Gökyüzü resimleri için önerilen değerleri içerir.
{ent|worldspawn}} objesi hangi skybox'in kullanılacağını belirler. Ayrıca eğer env_fog_controller'ın değerleri kullanılan Gökyüzü'yle aynı değilse kötü gözükebilir.

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".