GENERATE/PREV.gifGENERATE/NEXT.gif

Light : Node

The following properties apply to all lights:

<light>.softenDiffuseEdge

float

<light>.attenDecay

integer, 1=linear, 2=square, 3=inverse sq.

<light>.raytracedShadows

boolean, true=raytraced shadows, false=mapped

<light>.affectDiffuse

<light>.affectSpecular

<light>.useNearAtten

<light>.showNearAtten

<light>.useFarAtten

<light>.showFarAtten

<light>.projector

<light>.projectorMap

<light>.castShadows

<light>.useGlobalShadowSettings

<light>.absoluteMapBias

The following list displays the light objects:

Omnilight

Targetspot

Directionallight