Game Development Community

Fog artifact in terrain rendering, any idea what's doing it?

by Kenneth Eves · in Torque 3D Beginner · 09/29/2012 (4:26 pm) · 3 replies

I've noticed this for a while, but haven't tried to track it down yet.

Any idea what causes this artifact (missing fog) on the horizon line?

www.ameridat.com/frustumculledterrain.jpg

#1
09/29/2012 (4:41 pm)
Just a guess but check your draw distance.

Edit: This was a problem in the UDK that I had.

IT might be draw distance related.
#2
09/29/2012 (4:52 pm)
I have draw distance at 1000, fog offset at 900.

I'll try tweaking them to see if that affects it. It might be one of those where the distance has to be a power of 2, or maybe a multiple of the block size.
#3
09/29/2012 (8:16 pm)
I tracked it down to pixel shader 3 fog, most likely it doesn't like my terrain mods. Forcing all clients to PS2 fog fixed it.