Light Attenuation Demo

Drag to rotate the square

Constant attenuation coefficient (>= 0)

Linear attenuation coefficient (>= 0)

Quadratic attenuation coefficient (>= 0)