Date: Jul 30, 2008 14:58
[Please do not mail me a copy of your followup]
Mekko spake the secret code
<6fbraiFa5dj8U1@mid.uni-berlin.de> thusly:
>I have a billboard in front of the camera. The texture contains blue
>parts which I already managed to make transparent by color keying.
When you say "transparent by color keying", presumably you are
referring to the color key argument to the D3DX function that creates
textures. It does this by replacing the pixels matching the color key
color with transparent black -- D3DCOLOR_RGBA(0, 0, 0, 0).
>Now I
>would like to make the rest of the texture (as it is visible now)
>semi-tranparent so the the background of the scene can be seen through
>the billboard.
>
>How can I make the color blue fully transparent and the rest of the
>texture semi-tranparent? Is this combination possible at all?
|