Hi there,
I want to Billboard some trees, and obviously trees arnt rectangle, so how do I make the other ares of the trees transparent? Do I have to use alpha blending and the alpha channel, if so, where can i d/l some free software to edit alpha channels (windows 98)? With D3DXCreateTextureFromFileExA is it possible to use the color key specified in that function?
Any ideas? the billboarding tutorial for DX8 is really bad and relies on loads of alpha blending and testing + tga files.
thanks
Transparency with Billboards
Started by aryasir, Feb 11 2003 02:09 AM
3 replies to this topic
#1
Posted 11 February 2003 - 02:09 AM
#2
Posted 11 February 2003 - 02:10 AM
Have you tried the D3DXCreateTextureFromFileEx function with the color key?
#3
Posted 11 February 2003 - 02:14 PM
You could use an alpha mask
#4
Posted 11 February 2003 - 05:01 PM
apex said:
Have you tried the D3DXCreateTextureFromFileEx function with the color key?
The sprite should now be transparent except for what is masked.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











