546
edits
m (fix typo in attenuation formula, problem with <q>) |
|||
Line 654: | Line 654: | ||
|- | |- | ||
|<tt>attenuation</tt> | |<tt>attenuation</tt> | ||
|Three element vector. <c> element is the constant factor, <l> element is the linear factor and | |Three element vector. <c> element is the constant factor, <l> element is the linear factor and <q> element is the quadratic factor.<br /> | ||
Attenuation of color at distance d is [[File:Spotlight_attenuation.png]] | Attenuation of color at distance d is [[File:Spotlight_attenuation.png]] | ||
|- | |- |
edits