Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: GClements

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    342

    In that case, you're probably going to need to...

    In that case, you're probably going to need to use a shader with both the image and mask textures as sources. There isn't a blending mode which will give you src_alpha*(1-dst_alpha). If the mask is a...
  2. Replies
    4
    Views
    342

    What's wrong with just drawing the "shape" image...

    What's wrong with just drawing the "shape" image without blending, then everything after that with:


    glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_DST_ALPHA);

    ?

    Note that the FBO will need an...
Results 1 to 2 of 2