jorgemonti
2005.04.21, 06:41 AM
Hi all!
I'm back with a new question :-)
Is it possible in openGL to set a mask, filter, etc to block a specific
color to be put in the color framebuffer, without using the alpha channel.
It's the typical example of sprites where you reserve a color to be the
transparent color, and when you draw the sprite this color is skipped.
Now I get this effect with blending because I can set the alpha channel
to transparent for the specific color and opaque for the rest, but this
implies using alpha blending, and i'm trying to avoid it.
Any comment is welcome,
Thanks
I'm back with a new question :-)
Is it possible in openGL to set a mask, filter, etc to block a specific
color to be put in the color framebuffer, without using the alpha channel.
It's the typical example of sprites where you reserve a color to be the
transparent color, and when you draw the sprite this color is skipped.
Now I get this effect with blending because I can set the alpha channel
to transparent for the specific color and opaque for the rest, but this
implies using alpha blending, and i'm trying to avoid it.
Any comment is welcome,
Thanks