Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Post processing

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    11

    Post processing

    Hi I want to post process image, and redraw specified color to different color (clearing alpha channel is enough). Exists something like glColorFunc(GL_EQUAL) ?? Is there non shader solution ?
    Thanks Filip
    Last edited by phdr_hroch; 06-26-2013 at 04:22 AM.

  2. #2
    Member Regular Contributor
    Join Date
    Jun 2013
    Posts
    495
    Quote Originally Posted by phdr_hroch View Post
    Hi I want to post process image, and redraw specified color to different color (clearing alpha channel is enough). Exists something like glColorFunc(GL_EQUAL) ?? Is there non shader solution ?
    If you tried hard enough, you might be able to cook something up using glTexEnv() with multiple textures and passes. But using a shader would be simpler and more efficient.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •