I am moving a block on the screen and the shadow stays in the same spot until a delta position threshold is reached then the shadow jumps to the correct spot. This repeats over and over creating a distracting strobe effect. Is there a way to update shadow every frame for smooth action for dynamic movement?
Example
I think it may have to do with resolution of the shadow map, not update rate.
This is since the shadow map resolution is so low, that’s literally the pixels moving. Increasing the shadowmap size sure helps to some degree, also make sure your frustum is tight around the scene that should get shadows.
Sadly we are still missing cascaded shadow maps which has been removed few years ago (it’s basically LOD for shadows and always gives a high resolution everywhere near the frustum) it is standard for most engines these days.
3 Likes