How to avoid disappearing / popping shadows when they are in the camera viewfield at short distances?

All over this scenes, shadows pop in and out in front of the camera at short distances (pay attention to the yellow building and to the building at the left):

I have done everything listed in this topic:

r.Shadow.FadeResolution
r.Shadow.MinResolution
r.Shadow.TexelsPerPixel
r.Shadow.RadiusThreshold

I also tried increasing Dynamic Shadow distance, but no effect.

Hello @AlfredBaudisch !

mmm what about:

r.ForceLODShadow 0
r.ForceLOD 0
r.ScreenPercentage 150

1 Like

That was it, thanks!

1 Like

Hey Alberto, can you explain that ScreenPercentage has to do with fixing LOD shadows? I know that it downsizes from higher res into the defined resolution but does that fix moire or something?

It’s more resolution, as more resolution more quality, test it you will be not disappointed!