🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Masking and dept problems
I've followed Nehe's masking tutorial, and got it to work just fine, but in the rendering part, you have to disable GL_DEPTH_TEST. So when I render the screen, the mask image always overlaps all other polygons. But if I dont disable GL_DEPTH_TEST, the mask dont work. Any idea how I can fix this?
The program makes the masked object first to last and last shall be first.
So if you make the masked object the first thing in your Rendering code, it will be on the very bottom, yet if it is the last thing drawn; it shall be on top.
So if you make the masked object the first thing in your Rendering code, it will be on the very bottom, yet if it is the last thing drawn; it shall be on top.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement