Light source parameters

type property description
float size diameter of the light source (reflector)
float angle field of light [degrees]
(ignored for point lights)
float edge soft edge coefficient, 0..1 portion of the light area along the edges where light fades to make it soft
(ignored for point lights)
float3 color RGB color of the light emitter
float intensity light intensity
float range effective light range
float fadeout time to fade after turning off

If either intensity or range are specified alone, the other one is computed automatically. If neither one is specified, the intensity is taken from the color value, otherwise the colors are normalized. If both intensity and range are specified, the light can have shorter range to avoid leaking outside of cockpits etc.

See vehicle, aircraft

Last modified 4 years ago Last modified on Mar 29, 2015, 10:04:53 AM