Search Unity

Question Custom shadow map resolution?

Discussion in 'General Graphics' started by Innovine, Jan 1, 2022.

  1. Innovine

    Innovine

    Joined:
    Aug 6, 2017
    Posts:
    522
    I am using URP and the shadow map resolution is just too low. My scene is very large, with long camera rendering distance, and no matter what way I adjust the cascades there are very ugly sawtooth crawling edges on my shadows.

    There was a customshadowresolution api call, but it doesn't seem to work in URP. Is there any other way to raise the resolution? It's critically important for my game.

    (I can't even use two cameras because the shadows fade out between them).