Next:
C..2.2 Spotlight Effect
Up:
C..2 Lighting Equations
Previous:
C..2 Lighting Equations
Contents
C..2.1 Attenuation Factor
The attenuation factor is defined to be:
where
distance between the light's position and the vertex
GL_ CONSTANT_ATTENUATION
GL_ LINEAR_ATTENUATION
GL_ QUADRATIC_ATTENUATION
If the light is directional, the attenuation factor is 1.
2001-01-10