1. 02 1月, 2013 1 次提交
    • A
      WebGLDeferredRenderer: trying to fix AreaLights. · 4a976331
      alteredq 提交于
      The problem this tries to address is - how to incorporate surface normals into diffuse term area light calculations. The original approach completely ignored surface normals, which resulted in both light shining on backfaces and lit surfaces not showing any shading. This made prettier empty box with very soft look but anything inside the box had completely flat diffuse term.
      
      Not yet fully solved. I tried myriad variants, all methods I could come up with had some problems. This one for example breaks down when the light emitter area intersects object triangle :S.
      
      Also fixed handling of vertex colors for emissive term and tried a bit closer match with shininess strength between area lights and other light types, though this is tricky, seems it would require some non-linear mapping.
      4a976331
  2. 30 12月, 2012 8 次提交
  3. 29 12月, 2012 1 次提交
  4. 28 12月, 2012 7 次提交
  5. 27 12月, 2012 5 次提交
  6. 26 12月, 2012 2 次提交
  7. 24 12月, 2012 7 次提交
  8. 23 12月, 2012 2 次提交
  9. 22 12月, 2012 7 次提交