Light Create

Define here the attenuation parameters of the new light.


Set the Constant, Linear, Quadratic parameters that control the axial attenuation. This is defined only for positional and spot lights. The axial attenuation factor is given by:
Axial Attenuation Factor = 1/(constant + linear*distance + quadratic*distance*distance)


Controls the radial attenuation, defined only for spot lights. The radial attenuation factor is given by:
Radial Attenuation Factor = [max (0, vertex . direction)]**radial