Archived

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

BigCarlito

D3D Multitexturing

Recommended Posts

Hmmm, OK I'm trying to draw an outdoor basketball court using multitexturing in D3D. I have one cement texture that gets layered about 10X10 and one texture with the court lines. The problem is, when multitexturing, the black shows and the white is transparent, which works fine for black lines, but I need the black to be transparent and the white to show (no court has black lines). I have tried using the D3DTEXTR_TRANSPARENTBLACK flag when creating my texture, but that didn't help. What gives??

P.S. what the heck is this icon? :-)

Share this post


Link to post
Share on other sites
Are you using alpha channels or colorkeying? If colorkeying, then set your transparent color to something besides black (like pure green) for the texture... If you are using alpha channels, then just make your alpha for those lines zero... Hmmm, this probably isn't very illuminating... Alas, that is the best I can do with the limited info on hand... and no, I have no idea what the icon is... (I think maybe a construction pylon?)

Share this post


Link to post
Share on other sites