Volumetric fog masking incorrect with worldspace based Light Function

When using worldspace masking inside a light function the masking is applied incorrectly to volumetric fog. An example can be seen in the following image:

285064-lfon.jpg

The associated light function looks like this:

Reproduction steps:

  • Open map in the [attached project][3]
  • Move around the map
  • Notice the volumetrics masking moving around depending on the camera location.

Expected behaviour:

  • The volumetrics are masked in world space similar to the cube in the scene.

Versions tested:

  • 4.22 and 4.23 preview 6, both had the same issue.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks