PDA

View Full Version : HUD Always draw on top?



darkrappey
10-03-2006, 05:19 PM
I am working on a heads up display interface using/rendering quads.

How could I ensure that the interface will always be drawn over the world geomatry of the game?

zeoverlord
10-03-2006, 05:46 PM
1. don't double post

2. use orthographic mode and
glDisable(GL_DEPTH_TEST);
glDepthMask(GL_FALSE);

And make sure the hud is rendered last of all things.

darkrappey
10-03-2006, 06:41 PM
Oh my I am very sorry for double posting.

Thank you for your quick reply.

If I cant, Admins please delete my other post.