[osg-users] Can't write to ALPHA component with custom fragment shader in RTT pass
usenet04 at rk-se.de
Mon Mar 9 07:10:43 PDT 2009
I guess you're looking for the discard statement in the fragment shader?
Jean-Sébastien Guay schrieb:If not, then is there some other
> way to "kill" a fragment we don't want to show up once we're at the
> fragment shader stage? (I seem to recall there was a way, but I can't
> remember the specifics).
More information about the osg-users