I’m trying to achieve the effect of a static fog in the bottom of my rocky terrain. It’s used mainly for atmosphere and obscuring some ugly details no one needs to know about.
Here is the effect I want, done with Unity’s internal fog settings:
And here is the problem that can’t be fixed with the internal fog.
The fog retracts as it should. Unfortunately it’s not the effect I want.
I reckon custom shader is the way to do it but unfortunately I don’t have a good grasp on them. Any help (on alternative solutions also) would be much appreciated.
I did a little hack that doesn’t work flawlessly and haunts me in my dreams, but hey, as long as others think it works, eh? I added this to my main camera’s script.