Jump to content
  • Advertisement
Sign in to follow this  
No_Germs

what are the default values for blending?

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

Advertisement
If you have the red book, look in there it should say (I'm at work so I can't check for you).

If you don't have the red book, look in the forum faq for the online version and look in there (I'm very lazy so I don't want to check for you).

Share this post


Link to post
Share on other sites
Quote:
Original post by master of void
i think it is:
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
but i am not sure it is correct


Not correct !

glBlendFunc( GL_ONE, GL_ZERO ) is the default. So it is effectively the same as not even turning blending on. :)

Share this post


Link to post
Share on other sites
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!