提交 a13cf434 编写于 作者: M Mr.doob

WebGLRenderer: Avoid 0 shininess. Fixes #7252.

上级 ddd3f3d5
......@@ -1880,7 +1880,7 @@ THREE.WebGLRenderer = function ( parameters ) {
function refreshUniformsPhong ( uniforms, material ) {
uniforms.specular.value = material.specular;
uniforms.shininess.value = material.shininess;
uniforms.shininess.value = Math.max( material.shininess, 1e-4 );
if ( material.lightMap ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册