Skip to content

Commit e1238ba

Browse files
Mugen87abernier
authored andcommitted
WebGLLights: Remove redundant computation. (mrdoob#23893)
1 parent 8b58db8 commit e1238ba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/renderers/webgl/WebGLLights.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,6 @@ function WebGLLights( extensions, capabilities ) {
529529

530530
uniforms.direction.setFromMatrixPosition( light.matrixWorld );
531531
uniforms.direction.transformDirection( viewMatrix );
532-
uniforms.direction.normalize();
533532

534533
hemiLength ++;
535534

0 commit comments

Comments
 (0)