Advertisement

Sprite Clipping

Started by May 26, 2000 08:30 PM
0 comments, last by David20321 24 years, 8 months ago
How can I make it so that objects obscure sprites? The sprites can be seen through everything. Anyone know how to fix this? It draws the landscape first, then it goes into a loop to draw all of my rectangular prisms and finally it goes into another loop to draw my sprites.
Use the feedbackbuffer to see if something is between you and the sprite, if not, render the sprite, otherwise, do not
(you can find me on IRC : #opengl on undernet)

This topic is closed to new replies.

Advertisement