How to make a surface fade in the distance?
I use the following code to make a surface:
Now this works perfectly, but if i make the last 2 bigger (for example 5) it gets a little messy in the further parts of the surface.
d=d/((y*2.2+3)*2)
Is there an easy way to make a sort of fade or smog in that distance? Any help would be greatly appreciated,
Thanks in advance,
Deamon