SKY_LIGHT
constant
ConstantGet with
integer SKY_LIGHT = 8;llGetEnvironmentSKY_LIGHT → vector light_direction, vector fade_color, vector total_ambientvector light_direction// light_direction: A unit vector indicating the direction of the dominant light sourcevector fade_color// fade_color: A color vector representing the current color of the light emitted from the dominant light source (in sRGB space)vector total_ambient// total_ambient: A color vector representing the current ambient color in use in the scene (in sRGB space)
Environmental setting containing lighting parameters: dominant light direction (unit vector), current light color (fade_color in sRGB), and total ambient color (sRGB).
Other EnvironmentParamReadOnly values (27)
ENVIRONMENT_DAYINFO200SKY_AMBIENT0SKY_BLUE22SKY_CLOUD_TEXTURE19SKY_CLOUDS2SKY_DOME4SKY_GAMMA5SKY_GLOW6SKY_HAZE23SKY_MOON9SKY_MOON_TEXTURE20SKY_PLANET10SKY_REFLECTION_PROBE_AMBIANCE24SKY_REFRACTION11SKY_STAR_BRIGHTNESS13SKY_SUN14SKY_SUN_TEXTURE21SKY_TEXTURE_DEFAULTS1SKY_TRACKS15WATER_BLUR_MULTIPLIER100WATER_FOG101WATER_FRESNEL102WATER_NORMAL_SCALE104WATER_NORMAL_TEXTURE107WATER_REFRACTION105WATER_TEXTURE_DEFAULTS103WATER_WAVE_DIRECTION106