How to enable fog in Shader Graph

Anyone have any tips on how to set up fog for shader graph?

I tried searching the forums, but the solutions I found don’t work in 2021.:frowning:

Thanks

There’s a fog node with a color output and a density output.

And I don’t know if this is the best way to do it but through trial and error I found that the closest thing to the typical behavior of fog on a non-shadergraph material is to take whatever you would’ve plugged into the color output and put it as the Base input of a Blend node set on Overwrite mode, and use the Color output of the Fog node as the Blend input, and the Density as the Opacity input.

7719976--968698--upload_2021-12-8_18-25-28.png