Hi,
I'm trying to use subtractive blending on a GE Force 2 with the Linux Nvidia drivers.
The basic problem is that I want to subtract some alpha-only geometry from the on-screen image. I'm doing this in several passes with jittering to get some AA, so a simple GL_ONE_MINUS_SRC_ALPHA blend function won't work for me.
I'm currently using:
Unfortunately, I see absolutely no effect from this. If I use a glBlendFunc(GL_ONE, GL_SRC_ALPHA) I see an inverted view of what I expect, but I can't get a positive view. glGetError isn't showing anything wrong.Code :glBlendEquationEXT(GL_FUNC_REVERSE_SUBTRACT); glBlendFunc(GL_ONE, GL_ONE); for(each pass) { glTranslatef(jitter[i].x, jitter[i].y, 0); // render alpha-only image }
Any hints?
Thanks,
J



