EXTBlendSubtract or GL14 is missing GL_FUNC_ADD

Started by frostregen, July 06, 2009, 21:20:31

Previous topic - Next topic

frostregen

I had to switch from ARBImaging.glBlendEquation() to GL14.glBlendEquation,
because ATI openGL drivers do not support ARBImaging.

I can not find the basic GL_FUNC_ADD in GL14.
I can switch to GL_FUNC_REVERSE_SUBTRACT via EXTBlendSubtract, but not back to ADD...

I think GL_FUNC_ADD plus the other basic modes should be available from GL14. (Or EXTBlendSubtract)
Currently I have to use ARBImaging.GL_FUNC_ADD, which works, but does not seem correct.

-Frostregen

spasi

I added the following in GL14:

GL_BLEND_COLOR, GL_BLEND_EQUATION
GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX

Let me know if something else is missing.

frostregen

Thx :)

After looking into OpenGL1.4 specs, this seems correct now.