Description

When the cvar "r.VolumetricRenderTarget.PreferAsyncCompute" is enabled, it will cause Volumetric Clouds to ignore the influence of Volumetric Fog. In high-fog environments, this can cause the clouds to look as if they are drawing in front of the fog.

Also found on UE5-Main, CL: 35136630

Steps to Reproduce

1. Download the attached test project and open.
2. Execute the console command "r.VolumetricRenderTarget.PreferAsyncCompute 0"
3. Take a GPU Dump. This dump will be referred to as the Synchronous Dump.
4. Execute the console command "r.VolumetricRenderTarget.PreferAsyncCompute 1"
5. Observe the visible change to the clouds. You can use the SpotLight located at the world origin to observe that the clouds are drawing in front of the fog.
6. Take a GPU Dump. This dump will be referred to as the Async Dump.
7. Open both the Synchronous Dump and the Async Dump.
8. In both dumps, navigate to the pass "CloudView (CS)"
9. Observe, in the Synchronous Dump, the following:

  • "CloudView (CS)" pass takes place after the "DiffuseIndirectAndAO" pass, the "Lights" pass and the "VolumetricFog" pass.
  • The second to last Input Resource for "CloudView (CS)" is "VolumetricFog.IntegratedLightScattering".
    10. Observe, in the Async Dump, the following:
  • "CloudView (CS)" pass takes place before the "DiffuseIndirectAndAO" pass, the "Lights" pass and the "VolumetricFog" pass.
  • the second to last Input Resource for "CloudView (CS)" is "VolumetricBlackAlphaOneDummy".

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-220895 in the post.

1
Login to Vote

Unresolved
ComponentUE - Graphics Features
Affects Versions5.45.4.3
Target Fix5.6
CreatedAug 2, 2024
UpdatedAug 7, 2024
View Jira Issue