VFX Graph Shader Receives Fog

Hi!
I’m having this issue with the VFX shader asset…
A normal HDRP transparent Shadergraph shader has the “Receive Fog” toggle, but on a Shader Graph that is used on visual effects don’t have this option.
The particle strip quad should be invisible. It has a HD Scene Color directly in it’s base color, but it is colored by the fog.
The mesh above it is using the same HD scene color, where it toggle the receive fog on and off for the comparison.
6896993--807044--VFX Graph HDRP unlit.png
6896993--807041--nothing to see.gif
Is there some way to control if a VFX should receive fog or not?

Hey @CitronMaane ,

There’s no direct solution to this at the moment, however we’re working on VFX Graph integration with Shader Graph that will resolve the issue you encounter as it fully grants accessibility to shaders of HDRP.

Anyway, a few workarounds that might help:

  1. If there’s only fog and no other Post-Processing adjustments you can try Transparent Render Queue > AfterPostProcessing (setting that can be found in Output Context Inspector)
  2. You could also try Exposure Weight setting (can be found in Output Context Inspector). Once checkbox is ticked, setting appears in the Output context where it can be tweaked.

If you have any questions or I can be of further help, let me know.

Cheers

1 Like

Thanks for the help! I’ll try it out!

1 Like