Can I apply a filter or other effects with opengl to a texture?
The usual approach is to use render-to-texture and to write a pixel shader to do your filter. It takes the original texture as an input and outputs the result into the target texture.
If you don't know how to do shaders in OpenGL, the orange book is a good place to start.
If you don't know how to do shaders in OpenGL, the orange book is a good place to start.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement