Open Dev Kit Documentation :: Game :: Light
Game.LightLight source in the game world
Enumerations
- Light Style
- Styles of lights
- Shadowing Mode
- Shadowing modes available for the light
Functions
Properties
- Style Light Style
- style of the light source
- Shadowing Shadowing Mode
- shadowing mode of the light source
- Shadow Resolution Integer
- width/height resolution of shadow map (32 to 8192)
- Color Color HDR
- color of the light emitted
- Attenuation Float
- factor of how much light-to-material distance and angle diminishes intensity (0 = constant intensity, 1 = distance/angle reduces intensity naturally)
- Spot Outer Angle Float
- outer angle of the spotlight (in radians)
- Spot Inner Angle Float
- inner angle of the spotlight (in radians)
- Shadow Surface Surface*
- surface used for shadow rendering
- Shadow Textures Image* Array
- textures used for shadow mapping
- Matrix Shadows Matrix 4x 4 Array
- matrices used for shadow mapping
If you think anything is missing, please feel free to: submit documentation feedback on this page
