Skip to content

Commit e4324dc

Browse files
committed
WebGLRenderer: Copy camera.projectionMatrix.
1 parent 70d07d4 commit e4324dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/WebGLRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ THREE.WebGLRenderer = function ( parameters ) {
11691169

11701170
} else if ( background instanceof THREE.CubeTexture ) {
11711171

1172-
backgroundCamera2.projectionMatrix = camera.projectionMatrix;
1172+
backgroundCamera2.projectionMatrix.copy( camera.projectionMatrix );
11731173

11741174
backgroundCamera2.matrixWorld.extractRotation( camera.matrixWorld );
11751175
backgroundCamera2.matrixWorldInverse.getInverse( backgroundCamera2.matrixWorld );

0 commit comments

Comments
 (0)