PDA

View Full Version : What's in front is shown behind!



Andrewinator
10-29-2003, 04:26 PM
When I try to put water (just a large blue quad right now) into my 3D terrain (before I've drawn the land), the entire quad shows up behind the land, even the parts that are in front. The opposite of this happens when I draw it after the land.

How do I fix this?
-Andrew

chowe6685
10-29-2003, 06:47 PM
glEnable(GL_DEPTH_TEST);