Spotlights with large Attenuation Radius' produce blocky artefacts and ignore soft shadows

Problem:

Since upgrading to 5.6 with VSM, blocky artifacts have become extremely noticeable (see attached image).

Often, spotlights are used to fake pools of sunlight, requiring them to be placed at a far distance, with large attenuation radius’ and narrow cone angles. This includes Source Radius also causing artefacts, with soft penumbra (soft) shadows being completely gone. Unreal 5.4 appeared to be ok from memory.

Work-around hack (not good for performance)

Rect. Lights with barn doors, or Directional Lights with material function mask (faking a spot cone), both seem to retain their correct penumbras (relative to source angles) with good visual results, without blocky artifacts, but without the spotlight’s cone angle culling, these light types are more expensive with light overlap and complexities.

Is there a fix, cvar change, or a better work-around to fake optimized pools of soft light in a game?

Thanks heaps,

Michael

--

Steps to Reproduce

  • Place a Spotlight in a level and aim it at a sphere (or complex mesh) that can cast a shadow on the ground
  • Move the Spotlight ~200000 units away
  • Set Attenuation Radius to ~450000
  • Change Intensity Units to EV and set Intensity to ~29.0 EV
  • Set Outer cone Angle to 6.0
  • Set Source Radius to ~10000
  • Notice how the shadow appears extremely blocky and also lacks soft penumbra shadows (see attached screenshot)

Hi,

thanks for the repro steps. I have checked the public issue tracker and it seems that this is a [known issue in 5.4, 5.5 and [Content removed] with a target fix coming up in 5.7: https://issues.unrealengine.com/issue/UE-290280

If you need to work around it on 5.6, in addition to the other workarounds you’ve already mentioned, you can try enabling Distance Field Shadows or Cast Ray Traced Shadows in the spotlight settings, although the latter may have a significant performance impact.

Let me know if this helps.

Sam

[mention removed]​, thanks. seems mostly fixed in latest 5.7 release (5.7.0-47537391)

There’s still the obvious issue of blocky shadows for extremely wide Outter Cone Angle values, but that’s always been a known issue that artists have worked around. See below for Outter Cone angle at ~73 FOV:

We can close this ticket.

Cheers,

MM

[Image Removed]

Hi,

No problem. I will close this ticket. Feel free to open another when you encounter more issues.

Best regards,

Sam