Shadow flicker on rotation

Hi Guys,

I am rendering shadow to an object. Facing below 2 issues in that.

  1. Shadow is not smooth
  2. When I rotate the object it flickers

Any help would be appreciated!!

Project Link :

Hi @Sachet,

The main reason for that is the shadow resolution being small, try increasing that and also set the shadows Distance to a number that is small enough to cover your use case.

After you do that, you can start playing with Shadow Bias, trying different values to polish.

Getting shadowmaps to render perfectly is generally a matter of playing with these settings.