display layering

Started by
1 comment, last by dynamicman 22 years, 5 months ago
how would one acheive such an effect? Let me clarify, having the game render undernieth a 2d menu system... My best guess is to render the game... then clear the z buffer and then render the 2d menu system.. I know in DirectX I can directly acccess the backbuffer, but GL does not give me this freedom... any suggestions? comments?
Advertisement
Render your game. Disable depth testing. Setup an orthographic projection. Draw your menu system.

Steve ''Sly'' Williams  Monkey Wrangler  Krome Studios
Steve 'Sly' Williams  Monkey Wrangler  Krome Studios
turbo game development with Borland compilers
if yr menu is fixed in a place,the swap-hint perhaps is a good for u to render the 2d menu.it''s a extension.

jerry2
Programming,make a whole new world.
jerry2The God creates the world, the world creates the nature,the nature creates human. Human create...Everything.

This topic is closed to new replies.

Advertisement