Added "metal" parameter to Phong. Added new materials test.
Metal makes specular term multiplicative (default is additive). This is to be able to have textured materials that do not have diffuse color, just a specular one, to get metallic look (additive specular gives plastic look).
Showing
此差异已折叠。
examples/webgl_materials2.html
0 → 100644
想要评论请 注册 或 登录