display layering
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?
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
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.
jerry2
Programming,make a whole new world.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement