PDA

View Full Version : How do I get things to "hide" behind each other.



noob
07-10-2003, 11:11 PM
In a world with an orbiting camera, I am having issues with one building always being in front of the other simply because it is drawn last!

help!

errno
07-10-2003, 11:37 PM
did you enable depth test ???

yaro_dup1
07-11-2003, 01:14 AM
glEnable( GL_DEPTH_TEST );
// as said above