Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

D3D Multitexturing

4: Adsense

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   

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


#2 Chaster   Members   

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.