Click to See Complete Forum and Search --> : Question about OpenGL Stencil Test


typewriter
October 6th, 2008, 12:07 PM
Hello-

I am trying to figure out how to set up the stencil and/or alpha test to not bother drawing a fragment if the screen is already white on that pixel. I am blending sprites together, and when it reaches white then there is no point in continuing to draw there. I can't quite see how to do it.