Manipulating color buffer

Hi, is there any way to work straight with the buffer in order to apply post processing
effects?
No in the way of glGetPixels()… createTexture and then draw it.
The idea is to create a underwater view effect…
Regards
JyC

The straight-forward way is to use glCopyTexImage which omits the host copy you outlined with glReadPixels().
Or more complex, if you render to a p-buffer texture rectangle target you can bind it as texture directly.

There are ways to do post-processing effects, BUT there is no way to directly access a pixel like an array or so, without doing a glReadPixels.

Jan.

Typically post-processing effects are done using render-to-texture:

Originally posted by Jan2000:
[b]There are ways to do post-processing effects, BUT there is no way to directly access a pixel like an array or so, without doing a glReadPixels.

Jan.[/b]