#Cascaded Shadow Map Help
7 messages · Page 1 of 1 (latest)
Is my camera rotated wrong 😭 ???
looks like your camera is bound on your player, but you probably want it on your scene object itself. idk csm tbh though. add a light helper it will show you where it actually is. shadow camera takes a little bit to understand
oh you have a helper I see now. actually seems maybe it's behaving right? try just adjusting your light position, target, and shadow.camera parameters
what's the game? nice basic scene so far
Thanks! There's a link in my profile.
Yea it was just a matter of re-configuring the positions. I still dont understand quaternions and directions so it was tough, and the result is still upside down (nearer to the player gets all 4 cascades instead of just 1), but it works for now.
well the nice thing about threejs is, you dont have to understand quaternions ! haha. i've build almost a whole game using them extensively, but i could not do the matrix math behind them to save my life. I just think of them as "orientation" basically.