Project Rembrandt: Difference between revisions

Removing ambient is a bad idea
(Removing ambient is a bad idea)
(Removing ambient is a bad idea)
Line 298: Line 298:
     <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 358: Line 364:
|In object space, direction to the center of the spot
|In object space, direction to the center of the spot
|-
|-
|<del><tt>ambient</tt></del>
|<tt>ambient</tt>
|<del>Ambient color of the light</del> Removed to avoid artifacts at edges of light volume
|Ambient color of the light
|-
|-
|<tt>diffuse</tt>
|<tt>diffuse</tt>
269

edits