Very bad shadow resolution

Hey,
i try to implement shadows in my application.
But the shadow resolution is very bad if i have a shadowmap with width = 1024 and height = 1024.
It looks like i have really big black pixels on my Objects.
If i set the width and height to 20480, it looks much more better.
Any guy know what i doing wrong? i dont want create a shadowmap of 20480 width and height.
i followed the tutorial of learnopengl

Mismatched shadow resolution between light space and camera screen space is one of the problems of standard shadow maps. If you do some reading on them (and you should), you’ll find quite a few methods for addressing this including cascaded shadow mapping, shadow map filtering, limiting the spatial size of the shadow map, increasing resolution, and using alternate shadow map representations, just to name a few.

1 Like

Many solutions to resolve this kind of problem, like:

Many many good papers and techniques, you have to experiment and see if one or many can solve your (specific) problem.

Good luck.