Photoshop blending mode to OpenGL ES without shaders

后端 未结 4 1754
走了就别回头了
走了就别回头了 2020-12-23 15:01

I need to imitate Photoshop blending modes (\"multiply\", \"screen\" etc.) in my OpenGL ES 1.1 code (without shaders).

There are some docs on how to

4条回答
  •  轮回少年
    2020-12-23 15:34

    you should try this:

    glBlendFunc(GL_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA)
    

    This looks like multiplying to me on the iPhone / OpenGL ES

提交回复
热议问题