Question by
BronsonBrad · Aug 01, 2021 at 10:28 PM ·
shadersfog
How to disable fog in Shader graph PBR?
I can't find any way online to disable fog in my lit, transparent shader graph, does anyone know how this can be done? Specifically I have created a water shader that I don't want to be effected by the fog settings.
I am using Unity 2020.3.13f1 with shader graph version 10.5.1
Comment
Answer by xwin28 · Aug 23, 2021 at 01:11 AM
Hello, i'm not know to much about Shader Graph but i think Unlit Shader unaffected by fog (but of course also do not receive light source) .
Hope this help you. (though Unlit shader limit many things)
testignorefog.png
(196.2 kB)
litandunlit.png
(155.5 kB)
Answer by BronsonBrad · Aug 23, 2021 at 02:18 AM
Thanks but I am looking for a way to disable on a Lit shader