Only one or the other is supported
// Calculate the fog needed for translucency
#if NEEDS_BASEPASS_FOGGING
#if BASEPASS_ATMOSPHERIC_FOG
Output.BasePassInterpolants.VertexFog = CalculateVertexAtmosphericFog(WorldPosition.xyz, ResolvedView.TranslatedWorldCameraOrigin);
#else
Output.BasePassInterpolants.VertexFog = CalculateVertexHeightFog(WorldPosition.xyz - ResolvedView.TranslatedWorldCameraOrigin);
#endif
#endif
Using both an Atmospheric and Exponential Height Fog will cause an issue rendering Translucency-based Materials. (See Screenshots below)
IMPACT:
Cannot use both Atmospheric Fog and an Exponential Height Fog together
UPDATED STEPS
RESULT
The cube will render on top of the fog.
EXPECTED
The red cube gets partially occluded by the dense Exponential Height Fog.
1. Create a New Blank Project with Starter Content
2. In the Minimal_Default map, Delete the Table and 2 Chairs
3. Increase the scale of the Glass Statue to (3,3,3)
4. Add an Exponential Height Fog into level.
5. In the Exponential Height Fog, Change the Fog Density to .25
6. Pull the camera back a far distance from the Floor and Statue Assets
7. Turn the Atmospheric Fog off and back on again
RESULTS:
The Glass Statue's translucency changes depending on whether the Atmospheric Fog effect is on or off with the Exponential Height Fog.
EXPECTED:
The Translucency should render the same even if both effects are on.
Head over to the existing Questions & Answers thread and let us know what's up.