Archived

This topic is now archived and is closed to further replies.

Waldoo

Select Color as Transparent

Recommended Posts

It is not ''a specific color''. Unless using indexed color (shudder), you''d use the ''alpha channel''.

Alpha = 1 -> opaque
Alpha = 0.5 -> 50% transparent
Alpha = 0 -> completely transparent

Look it up.

If you''re using indexed color, sorry, I''m afraid I can''t help you.

Share this post


Link to post
Share on other sites
Yes I know that one but I dont want to transparent other colors on a texture map. There got to be a way to transparent in specific area on texture map.

Waldoo

Share this post


Link to post
Share on other sites
*psssst* this is the way to do exactly what you want. Think about it before ''knowing'' that its not gonna work.

say you want to make red transparent,

ie:

R = 1
G = 0
B = 0

then you''d make A (alpha) = 0 (transparent)

all other channel combinations (for an example)

R = 0.5
G = 0.1
B = 1.0

you''d make A = 1 (opaque)

Please use some brains & research this for yourself =D

Share this post


Link to post
Share on other sites
I just found a wonderful source code, it is called "Color Keying" You can download it at http://nate.scuzzy.net/gltut/

Enjoy

Waldoo

Share this post


Link to post
Share on other sites