Browse Source

Update csm frustums when resizing window

Garrett Johnson 5 years ago
parent
commit
973e03e84c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/webgl_shadowmap_csm.html

+ 1 - 0
examples/webgl_shadowmap_csm.html

@@ -212,6 +212,7 @@
 					camera.updateProjectionMatrix();
 
 					updateOrthoCamera();
+					csm.updateFrustums();
 
 					renderer.setSize( window.innerWidth, window.innerHeight );