Project Rembrandt: Difference between revisions

Remove ambient in spot light
(Remove ambient in spot light)
Line 290: Line 290:
     <z>-0.0349</z>
     <z>-0.0349</z>
   </direction>
   </direction>
  <ambient>
    <r>0.03</r>
    <g>0.03</g>
    <b>0.03</b>
    <a>1.0</a>
  </ambient>
   <diffuse>
   <diffuse>
     <r>0.7</r>
     <r>0.7</r>
Line 356: Line 350:
|In object space, direction to the center of the spot
|In object space, direction to the center of the spot
|-
|-
|<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>
269

edits