Hi i want to blur a specific part of image. But dont know how to do this because i am new in opengl. please help me with any sample code.
Regards
yasir
Hi i want to blur a specific part of image. But dont know how to do this because i am new in opengl. please help me with any sample code.
Regards
yasir
blur is a post processing effect, in openGL you can only draw on polygons… and polygons don’t have blurred edges.
To perform blurring you have to render the scene in a frame buffer object. Then render the buffer object in a full screen quad using a blurring shader. If you need to blur only a part of the scene then you need to use another texture as mask.