On Sat, Nov 24, 2012 at 7:52 AM, Jack <jack@rybn.org> wrote:
In my mind i was thinking about textures operations with the use of two
>> Seriously, as Chris says it's better to use shaders now, it's more
>> flexible.
> i do not agree.
> using shader, how would you do :
> GL_ONE_MINUS_SRC_COLOR
> you need the source color. a readback is not an option.
framebuffers if you need to capture the scene.
With this solution, you can determine the source and destination in your
fragment shader (as glBlendFunc) then operate on destination something
equivalent to GL_ONE_MINUS_SRC_COLOR, or i miss something and i am wrong ?
If this solution is OK, you needn't readback...