Browse Source

remove unnecessary shadow camera updates

Garrett Johnson 5 years ago
parent
commit
fcc2ac4868
1 changed files with 0 additions and 3 deletions
  1. 0 3
      examples/jsm/csm/CSM.js

+ 0 - 3
examples/jsm/csm/CSM.js

@@ -243,9 +243,6 @@ export default class CSM {
 			light.target.position.y += this.lightDirection.y;
 			light.target.position.z += this.lightDirection.z;
 
-			light.shadow.camera.updateMatrixWorld();
-			light.shadow.camera.updateProjectionMatrix();
-
 		}
 
 	}