Browse Source

WebGLLights: Remove redundant computation. (#23893)

Michael Herzog 3 years ago
parent
commit
065022fb15
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/renderers/webgl/WebGLLights.js

+ 0 - 1
src/renderers/webgl/WebGLLights.js

@@ -529,7 +529,6 @@ function WebGLLights( extensions, capabilities ) {
 
 				uniforms.direction.setFromMatrixPosition( light.matrixWorld );
 				uniforms.direction.transformDirection( viewMatrix );
-				uniforms.direction.normalize();
 
 				hemiLength ++;