Hello, I have an issue with the shadow map that jitters when it moves.
The project is the same as discussed there :shaderMaterial and 300es imports in MRT - #37 by Mikael
So I have a an MRT as target rendering for the whole scene and the meshes of the scenery is made of thin instances.
My goal is to reduce the frustum to the part that are supposed to be viewed and then move it with the character. (so narrower then finer shadow map)
I’m not done with the maths of evaluating the ortho top, bottom,… yet that I already see that moving the light source or its angle makes the shadow jitter.
I’ve recorded it:
So I create a playground to try reproducing it:
but in vain, the jittering doesn’t appear and weirdly while the sphere’s instances cast shadow it seem that only one sphere in the middle renders, weird.
Dunno if you guys might have leads to what produces it so I can reproduce it in the playground and maybe fix it.
For info I’m using the 5.0.0-alpha-44 but I think it happened with the 4.2 too.
Thanks in advance!