Disable fog in URP Lit Shader Graph?

Hi, I’m looking for a way to have the lit shader graph shader ignore scene fog. In a normal (non-shader-graph) shader I’d just delete #pragma multi_compile_fog

I can’t seem to find any way to do this in shader graph. Any ideas?

One thing you can try doing is getting the Shader Graph’s generated code and then seeing if you can make the necessary modifications through that. Select your Shader Graph, and then click “View Generated Shader” in the inspector to open the shader code in your text editor. Once you make the changes you need, you can save it and use it like any other shader.

Ah thank you. This is exactly what I ended up doing. It would be nice if this wasn’t necessary so as to keep using the graph, but this does work.