Jump to content
  • Advertisement

Archived

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

ProgHawk

Alpha Blending???

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

On the tutorial @ http://www.gamedev.net/reference/programming/graphics/article320.asp, on the alpha blending part, it shows a value called "alpha". I''m not sure how to get this, or even if its for 16 bit modes. I am very confused. HELP!!!

Share this post


Link to post
Share on other sites
Advertisement
Alpha in most cases is just the amount of transparency of a pixel.... As for getting alpha, it depends on the API. But you could do it software-rendered (I think they do it in this example).. It''s usually there in 16-bit color..

--SR

----------------------------
"To err is human... To really foul things up requires a computer.."
----------------------------

Share this post


Link to post
Share on other sites
Look at the sourcecodes. It helped me very much, coding my own Alpha routines. And yes: From what i know, alpha is a param that represents the amount of transp.

__MELO

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!