Advertisement

Shadow map size recommendation?

Started by October 15, 2019 08:41 PM
1 comment, last by turanszkij 5 years, 3 months ago

Hello everybody,
Is there any recommendation about the shadow map size?
I saw no difference between 2048x2048 and 1024x1024 in a 4 cascaded shadow mapping using a compute shader to reduce the depth of each cascade.
What about the other kind of light? Any recommendation for the shadow map atlas for point light and spot light?
Finally, is these question useless now that raytracing is the new world?
Thanks!

You will want to consider the quality/performance tradeoff for your specific project. 2048x2048 will look nicer, but will use more memory and could be slower to render and sample from than 1024x1024. Also keep in mind that too low resolution can hinder performance because of subpixel triangles. You will need to find the best resolution for the scene you are rendering, but 1024x1024 is usually a safe bet. And shadow mapping is not useless yet.

This topic is closed to new replies.

Advertisement