[osg-users] Can't write to ALPHA component with custom fragment shader in RTT pass

Ralph Kern usenet04 at rk-se.de
Mon Mar 9 07:10:43 PDT 2009

hi Jean-Sebastian,

I guess you're looking for the discard statement in the fragment shader?

regards Ralph

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).
> Thanks,
> J-S

More information about the osg-users mailing list