PDA

View Full Version : Don't draw a fragment?



halo
01-05-2007, 09:12 PM
If I determine in my fragment program that a fragment is not visible, how do I skip it?

unsigned void
01-05-2007, 11:49 PM
with "discard" keyword; read GLSL spec.