PDA

View Full Version : Making Background Transparent



Soulreaver
04-16-2003, 03:21 AM
I have a texture and its background color components are 151,151,151.There is a circular blur object at middle of texture.
If i choose the back color black there is no problem.But my objects color is also black.

Is there any way to getting my object without back color? Thanks...

nexusone
04-16-2003, 04:44 AM
Yes, you can use the Alpha channel for transparentcy.
The transparentcy is based on Alpha values not color. Alpha = 1 non-transparent, 0= transparent, 0.5 simi-transparent.

Now if you use the TGA file format, it supports Alpha channel and you can create a transparentcy mask with the Alpha channel.

With BMP's you would need two files one for texture and one for alpha mask.

Hope this helps.


Originally posted by Soulreaver:
I have a texture and its background color components are 151,151,151.There is a circular blur object at middle of texture.
If i choose the back color black there is no problem.But my objects color is also black.

Is there any way to getting my object without back color? Thanks...

Soulreaver
04-16-2003, 05:48 AM
Thanks a lot.