GAMGI Interfaces: Light Create

# Light Create

- Geometry
- Color
- Attenuation

Define here the attenuation parameters of the new light.

### Axial

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)

### Radial

Controls the radial attenuation, defined only for spot lights. The radial attenuation factor is given by:

    Radial Attenuation Factor = [max (0, vertex . direction)]**radial

Home