|
@@ -1880,7 +1880,7 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
function refreshUniformsPhong ( uniforms, material ) {
|
|
|
|
|
|
uniforms.specular.value = material.specular;
|
|
|
- uniforms.shininess.value = Math.max( material.shininess, 1e-4 );
|
|
|
+ uniforms.shininess.value = Math.max( material.shininess, 1e-4 ); // to prevent pow( 0.0, 0.0 )
|
|
|
|
|
|
if ( material.lightMap ) {
|
|
|
|