Jump to content
  • Advertisement
Sign in to follow this  
codester

Transparency and billboard questions

This topic is 5028 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

I've recently begun learning about alpha blending and other transparency techniques in directX, and I've spent an hour or so searching this forum and the net about the topic, but can't seem to find an answer to this particular question. I'm trying to do a simple smoke technique using a texture on transparent billboards. I can make them fade out by changing the alpha component of the vertices' diffuse value, but the black box around the texture is still visible the whole time. I've tried putting an alpha channel into the texture ( and saving it as a 32-bit bitmap in photoshop) but I can't seem to get that to work. And even if it did, how would I be able to fade it out at the same time? This is a pretty common technique, I imagine, so there's probably a simple solution I'm not seeing. thanks.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!