DPalomo
06-20-2000, 03:39 AM
Hi all,
does someone know if it is possible to use different blending techniques (like
glBelndFunc(GL_ONE, GL_ZERO); or
glBlendFunc(GL_SRC_ALPHA, GL_DST_ALPHA)) without one interfering with the other?
Or maybe it has a fixed calling sequence like:
glEnable(GL_BLEND);
glBlendFunc(...);
// Draw something
glDisable(GL_BLEND);
My problem is that when a particular
glBlendFunc() is used, I cannot change this blending for the same scene.
Thanx in advance http://www.opengl.org/discussion_boards/ubb/smile.gif,
Daniel Palomo van Es
does someone know if it is possible to use different blending techniques (like
glBelndFunc(GL_ONE, GL_ZERO); or
glBlendFunc(GL_SRC_ALPHA, GL_DST_ALPHA)) without one interfering with the other?
Or maybe it has a fixed calling sequence like:
glEnable(GL_BLEND);
glBlendFunc(...);
// Draw something
glDisable(GL_BLEND);
My problem is that when a particular
glBlendFunc() is used, I cannot change this blending for the same scene.
Thanx in advance http://www.opengl.org/discussion_boards/ubb/smile.gif,
Daniel Palomo van Es