what are the default values for blending?
after the line glEnable(GL_BLEND); if i dont mess with any more blending parameters, what are they set to?
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).
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
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. :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement