what are the default values for blending?

Started by
3 comments, last by No_Germs 19 years, 3 months ago
after the line glEnable(GL_BLEND); if i dont mess with any more blending parameters, what are they set to?
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).
i think it is:
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
but i am not sure it is correct
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. :)
the same applies to textures when using GL_DECAL?

This topic is closed to new replies.

Advertisement