Jump to content
  • Advertisement

Archived

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

BigCarlito

D3D Multitexturing

This topic is 6811 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!