Skip to content

Commit dbd79b0

Browse files
committed
Fix shadow cascade view
1 parent 99d149d commit dbd79b0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

h3d/pass/CascadeShadowMap.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ class CascadeShadowMap extends DirShadowMap {
188188
lightCameras[i].offset.y = ( lightPos0.y - lightPos.y ) * invD + halfMinusD0Inv2D;
189189
lightCameras[i].offset.z = ( lightPos0.z - lightPos.z ) * invZDist;
190190

191+
lightCameras[i].view.load(view);
191192
var view = lightCameras[i].view;
192193
view._41 = -lightPos.x;
193194
view._42 = -lightPos.y;

0 commit comments

Comments
 (0)