View Full Version : masking

04-10-2006, 12:32 PM
hello, newbie here
just want to ask if it is possible to use a tga w/ alpha during texturing and still retain the alpha values or should i just use a bitmap and its black and white mask where only the black part is rendered.

04-10-2006, 07:34 PM
If you mean the framebuffer will retain alpha values, then yes, but only if the pixel format has a destination alpha channel.

04-11-2006, 12:47 AM
thanks for the reply
anyway, ive tried texturing w/ a tga+alpha but the transparent parts appear white instead of being transparent. im using it for fonts, i hope you get what im trying to do

04-11-2006, 03:17 AM
Yes it is possible, if your RGBA texture is properly initialized, you can have 8bit alpha.


No need for destination alpha for this.

04-11-2006, 03:58 AM
okay thanks a lot! got it!