• Advertisement
Sign in to follow this  

what are the default values for blending?

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

after the line glEnable(GL_BLEND); if i dont mess with any more blending parameters, what are they set to?

Share this post


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