OpenGL Discussion and Help Forums
OpenGL Developers Forum
OpenGL Shading Language
> Don't draw a fragment?
View Full Version :
Don't draw a fragment?
01-05-2007, 09:12 PM
If I determine in my fragment program that a fragment is not visible, how do I skip it?
01-05-2007, 11:49 PM
with "discard" keyword; read GLSL spec.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.