Hello Guest

EXTBlendSubtract or GL14 is missing GL_FUNC_ADD

  • 2 Replies
  • 5887 Views
EXTBlendSubtract or GL14 is missing GL_FUNC_ADD
« on: July 06, 2009, 21:20:31 »
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

*

Offline spasi

  • *****
  • 2261
    • WebHotelier
Re: EXTBlendSubtract or GL14 is missing GL_FUNC_ADD
« Reply #1 on: July 07, 2009, 12:34:57 »
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.

Re: EXTBlendSubtract or GL14 is missing GL_FUNC_ADD
« Reply #2 on: July 07, 2009, 15:05:01 »
Thx :)

After looking into OpenGL1.4 specs, this seems correct now.
« Last Edit: July 07, 2009, 15:14:59 by frostregen »