Dynamic shadows failing when moving away?

I’m currently making a few ceiling lamps that have a few dynamic lights in them.
However if i move backwards the dynamic lights seem to fail to cast shadows of the lamphoods.

Is there a way to prevent this from happening?

You could set a smaller value for r.Shadow.RadiusThreshold in the DefaultScalability.ini .

That’s indeed a bias issue with the lower resolution shadow cascades. However, I would recommend using a spotlight instead of a point light in cases like this for a couple of reasons:

  • Bias adjustments probably won’t completely fix your issues and can cause other artifacts when set too low
  • They’re a lot cheaper (only 1 instead of 6 shadow maps)
  • They’ll cause less overlap (important for stationary light performance)
  • No leaking upwards at all

If you still want the scattering of the light inside your lamp you can add a shadowless pointlight with a radius small enough to not hit the ceiling in addition to the main spotlight. Or simply fake that part of the lighting with the emissive channel inside your material.