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
Showing
此差异已折叠。
想要评论请 注册 或 登录