Tr/Skybox lighting: Difference between revisions

From Valve Developer Community
< Tr
Jump to navigation Jump to search
(Created page with "<noinclude>{{lang|Template:Skybox lighting}}</noinclude> rightSkybox Lighting her toolsskybox dokusuna sahip...")
 
No edit summary
Line 2: Line 2:
[[Image:Toolsskybox.gif|right]][[Template:skybox lighting|Skybox Lighting]] her [[skybox|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):  
[[Image:Toolsskybox.gif|right]][[Template:skybox lighting|Skybox Lighting]] her [[skybox|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):  


* {{ent|light_environment}} defines the direction, color and intensity of the direct sunlight, and the color and intensity of the diffuse skylight.
* {{ent|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.
* {{ent|shadow_control}} defines the color, direction, and attenuation distance of the [[Dynamic Shadows|dynamic shadows]] that are created by <code>light_environment</code>. Dynamic shadows will be buggy and unconfigurable without this entity.
* {{ent|shadow_control}}, <code>light_environment</code> tarafından yaratılan [[Dynamic Shadows|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.
* {{ent|env_sun}} places a glowing sprite in the skybox to represent the Sun's apparent position in the sky.  
* {{ent|env_sun}} Güneşi taklit etme amacıyla gökyüzüne parlak bir obje yerleştirir.  
* {{ent|env_cascade_light}} casts harsh, real-time shadows onto the map, usually copying settings from the {{ent|light_environment}} entity. {{only|{{csgo}}{{insurgency}}{{bms}}}}  
* {{ent|env_cascade_light}} genellikle {{ent|light_environment}} varlığının özelliklerini kopyalayarak sert, gerçek-zamanlı gölgeler yaratır. {{only|{{csgo}}{{insurgency}}{{bms}}}}  


To make sense of it all, just make sure you have only one of each of these entities in your map, and that the '''Pitch and Yaw <angles>''' are set the same for all three of them. (''Pitch'' is equivalent to the Sun's angle of elevation from the ground, and ''Yaw'' is its compass bearing.)
Ö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 {{ent|worldspawn}} entity defines which [[Sky List|skybox]] to use. Also note that fog will look wrong if {{ent|env_fog_controller}}'s settings don't correspond to the particular skybox in use.
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 {{ent|worldspawn}} entity defines which [[Sky List|skybox]] to use. Also note that fog will look wrong if {{ent|env_fog_controller}}'s settings don't correspond to the particular skybox in use.
{{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&deg;) whereas the '''<angles> Pitch''''s rotation is clockwise (so straight down is +90&deg;). 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&deg;) whereas the '''<angles> Pitch''''s rotation is clockwise (so straight down is +90&deg;). 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 07:59, 7 November 2021

English (en)Español (es)Русский (ru)Türkçe (tr)中文 (zh)Translate (Translate)
Toolsskybox.gif

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 Counter-Strike: Global OffensiveInsurgencyBlack Mesa)

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

Note.pngNot:Pitch can be overriden for 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".