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

Updated builds.

上级 d04e0459
......@@ -23340,7 +23340,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 ); // to prevent pow( 0.0, 0.0 )
if ( material.lightMap ) {
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册