Skip to content

SKY_LIGHT

constant
Constant
integer SKY_LIGHT = 8;
Get with llGetEnvironment
SKY_LIGHT → vector light_direction, vector fade_color, vector total_ambient
  1. vector light_direction// light_direction: A unit vector indicating the direction of the dominant light source
  2. vector fade_color// fade_color: A color vector representing the current color of the light emitted from the dominant light source (in sRGB space)
  3. 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)