Jump to content
  • Advertisement
Sign in to follow this  
DarkMasterBosel

D3D10_BLEND_DESC structure and alpha blending

This topic is 3468 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 am having a really hard time finding any useful information on this subject, as my main source book is quite wanting. MSDN isn't very helpful in describing how to implement this. What I want to do is for each sprite texture (all of my graphics are 2D), any area that I want to make transparent is solid black, i.e. R=0, G=0, B=0. Is there some way I can set up the application to look for that specific pixel and set its transparency level? I have experiemnted with the flags in the D3D10_BLEND_DESC structure but I cannot seem to make anything work.

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!