269
edits
(Remove ambient in spot light) |
(Remove ambient in point light) |
||
Line 395: | Line 395: | ||
<z>0.713</z> | <z>0.713</z> | ||
</position> | </position> | ||
<diffuse> | <diffuse> | ||
<r>0.7</r> | <r>0.7</r> | ||
Line 456: | Line 450: | ||
|In object space, position of the light | |In object space, position of the light | ||
|- | |- | ||
|<tt>ambient</tt> | |<del><tt>ambient</tt></del> | ||
|Ambient color of the light | |<del>Ambient color of the light</del> Removed to avoid artifacts at edges of light volume | ||
|- | |- | ||
|<tt>diffuse</tt> | |<tt>diffuse</tt> |
edits