Image Processing : glConvolutionFilter2D

I didn’t find some sample or tutorial using

Has anybody one sample ?

The OpenGL ‘RedBook’ talks about that function and shows an image showing how it works. Pretty good section. I assume you dont have the RedBook so in just type ‘OpenGL RedBook’ and you should find an older edition online to look at for free! Also the source to the redbook is online so that should help a lot.


If it is samples on how to use a convolution filter, I suggest that you Google for “distortion mapping” or play around with the Photoshop filter “Distort”.