Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: blur any part of image

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2010

    blur any part of image

    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.


  2. #2
    Member Regular Contributor Rosario Leonardi's Avatar
    Join Date
    Aug 2008

    Re: blur any part of image

    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.
    ~ ~ I tell you, realtime 3D is made of blood, sweat and screams! ~ ~

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts