• A
    Rewritten lighting shaders. · 8bd87ff4
    alteredq 提交于
    Hopefully this fixes several problems:
    
    - ambient component not modulated by scene ambient light
    - specular component not getting light colors
    - unnecessary opacity use in lighting calculations
    - unnecessary vertex shader light computation for Phong
    - unnecessary use of one varying in Phong
    8bd87ff4
Three.js 324.1 KB