This article's documentation is for anything that uses the Source engine. Click here for more information.

light_environment

Valve Developer Community sitesinden
(Light environment:tr sayfasından yönlendirildi)
Şuraya atla: kullan, ara
Light environment.png

light_environment is a point entity available in all Source Source games.

English (en)русский (ru)Türkçe (tr)中文 (zh)
Düzenle

Ay veya Güneş ışığını simüle etmek için toolsskybox dokusundan paralel doğrusal ışık ışınları yollar.

Note.pngNot:Bu varlığın özellikleri bütün haritayı etkiler. Birden fazla kullanmak, eğer bütün kopyalar aynı özelliklere sahipse bir sıkıntı çıkarmaz. Fakat birden fazla kullanmak gereksizdir.
Tip.pngTip:env_sun ve shadow_control ile kullanın.
Note.pngNot:light_environment, basit light varlığının çoğu özelliğini ödünç alır. Yani light_environment isimlendirilebilir (SmartEdit kapalıyken targetname özelliğini değiştirerek), ve hatta kapatıp açılabilir, ancak VRAD direkt ışıklandırmayı sadece isimlendirilmiş ışıklarda hesapladığı için çok kaba gözükecektir. Dahası, CSGO dışındaki oyunlarda isimlendirilmiş light_environment'lardan oluşan bir bug mevcuttur. İsimlendirme yapmanız tavsiye edilmez
Info content.png
This page has not been fully translated.

You can help by finishing the translation.

Ayrıca lütfen makalenin alternatif diller kılavuzuna uymaya

çalıştığından emin olun.

Skybox Işıklandırması

Main article:  skybox lighting

Keyvalues

Pitch (pitch) <angle>
Overrides the pitch value in Angles, even if left at 0, so it needs to be specified. Contrary to Angles, the rotation of this pitch is measured counter-clockwise from the horizontal, so that 90 is straight up, while -90 is straight down. (It's simply the negative of a normal pitch value.)
Brightness (_light) <color255 + int>
Color and brightness of the direct sunlight.
Ambient (_ambient) <color255 + int>
Color and brightness of the diffuse skylight.
BrightnessHDR (_lightHDR) <color255 + int>
Override for Brightness when compiling HDR lighting. Defaults to -1 -1 -1 1, which means "same as LDR".
BrightnessScaleHDR (_lightscaleHDR) <float>
Amount to scale the direct light by when compiling for HDR.
AmbientHDR (_ambientHDR) <color255 + int>
Override for Ambient when compiling HDR lighting. Defaults to -1 -1 -1 1, which means "same as LDR".
AmbientScaleHDR (_AmbientScaleHDR) <float>
HDR ayarında compile yapılırken çevre ışığının ölçeği.
SunSpreadAngle (SunSpreadAngle) <float> (no translation Half-Life 2: Episode Two)
The angular extent of the sun for casting soft shadows. Higher numbers are more diffuse. 5 is a good starting value. Remember: on cloudy days, the shadows will be blurred because the sunlight is being diffused by clouds. Try 90 for hazy days, and use 135 for cloudy days, rain and fog. If you're trying a night atmosphere, sometimes you'll need up to 180. You'll also have to turn down the shadow alpha in your shadow_control entity - try changing the Shadow Color variable to something such as 50 50 50.
Farklı SunSpreadAngle değerleri. Yumuşak gölgelerin kalitesi compile seçeneklerine de bağlıdır. Animasyonu oynatmak için tıklayınız.
Specular Color (specularcolor) <color255> (only in InsurgencyDay of Infamy)
Belirli yüzeylerden yansıyan ışığın rengi. (Su vs.).

Angles:
Pitch Yaw Roll (Y Z X) (angles) <angle>
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.

Flags

  •  [1] : Initially Dark !FGD
       Sadece light_environment isimlendirildiğinde çalışır. Valve'ın FGD'si desteklemediği için SmartEdit kapatılarak yeni key oluşturulmalı, key'in ismi 'spawnflags' değeri ise 1 olmalıdır.

External links