GUI - Terrain Clipping Problem
Posted on 2005-04-09
I am creating an FPS game with a GUI like DOOM. At the bottom of the screen I draw a "bar" which displays information about the player (health, armor etc), and above the bar I draw the rest of the action (terrain, enemies, the world...). My problem is that when the player moves in the world, the terrain is drawn over the GUI. The GUI (the player info bar) is actually a series of planes with a texture and text that shows player info. How can i prevent the terrain (and everything else in the world) from drawing like that? I want all the action above the gui not on it.