Jump to content

  • Log In with Google      Sign In   
  • Create Account


D3D Multitexturing


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 BigCarlito   Members   -  Reputation: 122

Like
Likes
Like

Posted 21 December 1999 - 08:22 AM

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? :-)


Sponsor:

#2 Chaster   Members   -  Reputation: 122

Like
Likes
Like

Posted 21 December 1999 - 08:22 AM

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?)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS