From looking around on the net, I know about the following blend modes:
glBlendFunc(GL_SRC_ALPHA,GL_ONE); // Additive blending
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA); // Interpolation blending
glBlendFunc(GL_DST_COLOR,GL_ZERO); // Multiplicative blending
Apparently the alpha value has no effect when using multiplicative blending.
If there are others, can you please post them? Like subtractive blending, etc.. thanks
Oh yeah. glBlendFunc(GL_ONE,GL_ONE) is also additive blending, but doesn't let you fade in and out like the other func. Maybe its faster?
glBlendFunc(GL_SRC_ALPHA,GL_ONE); // Additive blending
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA); // Interpolation blending
glBlendFunc(GL_DST_COLOR,GL_ZERO); // Multiplicative blending
Apparently the alpha value has no effect when using multiplicative blending.
If there are others, can you please post them? Like subtractive blending, etc.. thanks
Oh yeah. glBlendFunc(GL_ONE,GL_ONE) is also additive blending, but doesn't let you fade in and out like the other func. Maybe its faster?