I'm using this shader for the environment to replace another toon shader that had its own problems, but I'm disappointed at the fact that this shader completely ignores the fog. (lighting/environment/fog)
To Reproduce
Steps to reproduce the behavior:
- Go to Lighting/Environment
- Enable Fog
- Increase Density (or start/end in the case of linear fog)
- See error
Expected behavior
Fog should affect the object with this shader as well
Screenshots
(walls and ground are using the Toon shader, leaves and glowing cube use other shaders, which are affected by fog as seen in the picture)


Additional Information
Unity Version: 6.3 LTS (6000.3.10f1)
Platform: Windows (DX11)
Rendering Pipeline: URP
I'm using this shader for the environment to replace another toon shader that had its own problems, but I'm disappointed at the fact that this shader completely ignores the fog. (lighting/environment/fog)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Fog should affect the object with this shader as well
Screenshots


(walls and ground are using the Toon shader, leaves and glowing cube use other shaders, which are affected by fog as seen in the picture)
Additional Information
Unity Version: 6.3 LTS (6000.3.10f1)
Platform: Windows (DX11)
Rendering Pipeline: URP