Skip to content

Commit 8bd87ff

Browse files
committed
Rewritten lighting shaders.
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
1 parent cb4a7b2 commit 8bd87ff

File tree

8 files changed

+115
-75
lines changed

8 files changed

+115
-75
lines changed

build/Three.js

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/ThreeCanvas.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/ThreeDOM.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)