Project Rembrandt: Difference between revisions

Remove ambient in point light
(Remove ambient in spot light)
(Remove ambient in point light)
Line 395: Line 395:
     <z>0.713</z>
     <z>0.713</z>
   </position>
   </position>
  <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 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>
269

edits