Can I apply a filter or other effects with opengl to a texture?

Started by
0 comments, last by OrangyTang 17 years, 8 months ago
Can I apply a filter or other effects with opengl to a texture?
Advertisement
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.

This topic is closed to new replies.

Advertisement