There seems to be a texturing problem in my terrain engine. It looks as if there’s no perspective correction for the triangles that get clipped at the edges of the screen. I have no idea what could be causing this, because it only happens in one particular test app that I wrote.
The scene consists of a terrain mesh, which is built out of triangle fans. Sometimes the texture visually “jitters” even when you’re standing still. I tested on a TNT2 and a GeForce2 - the problem occurs on both. Explicitly setting perspective correction with glHint() doesn’t help either.
Does anyone have a clue about what could be causing this?