Spot light
Used to define a light that gets emitted from a single point in one direction, along a cone that increases in size the further from the light it gets.
Mandatory children
-
Distance: Maximum range of the light in meters. Default is 0 (no limit).
- Var: smtk_float
- Type: Input
- Default: 0
-
Decay: The amount the light dims along its distance, the default value of 2 gives a realistic effect. It's recommended to leave this as is.
- Var: smtk_float
- Type: Input
- Default: 1
-
Angle: Maximum angle of light dispersion from its direction in radians.
- Var: smtk_float
- Type: Input
- Default: 0
-
Penumbra: Percent of the spotlight cone that is attenuated due to penumbra. It's range is from 0 to 1.
- Var: smtk_coefficient
- Type: Input
- Default: 0