Project Rembrandt: Difference between revisions

Line 260: Line 260:
|<tt>attenuation</tt>
|<tt>attenuation</tt>
|Three element vector. <c> element is the constant factor, <l> element is the linear factor and <q> element is the quadratic factor.<br />
|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 <tt>1 / ( <c> + <l> * d + <q> * d * d )</tt>
Attenuation of color at distance d is [[File:Spotlight_attenuation.png]]
|-
|-
|<tt>exponent</tt>
|<tt>exponent</tt>
269

edits