Jagged Shadows with High Focal Lengths.

Hello,
my lights create jagged shadows when viewed through high focal lengths.
The first image shows a lit character with a focal length of 35, the second shows the same character with focal length 100 - the shadows are of a significantly higher quality in the first image.
In both cases, I’m using a Directional Light, and Lumen is being used in conjunction with Virtual Shadow Maps.


How could this be fixed?
Thanks in advance.

P.S. Sadly the r.Shadow.Virtual.ResolutionLodBiasDirectional variable didn’t help because the quality stops increasing after I lower the value past -1.5.

Hello there @daniel.gabutti!

This scenario has come up a few times through the community, and indeed, most solutions point to adjusting the r.Shadow.Virtual.ResolutionLodBiasDirectional variable. As for alternatives methods to test, we have the following options:

  • Disable dynamic shadows and raytracing in your scene
  • Switching from virtual shadow maps to regular shadow maps
  • Increment the affected mesh’ details/polycount in order to generate more detailed shadows, with less chance of jagginess
  • Enable inset shadows for the object, which will foce high resolution shadows, regardless of the focal length