On Thu, 15 Oct 2015 03:39:10 -0700 Aradeonas <[email protected]> wrote:
> Im using BGRABitmap and it work great with OpenGL but I needed to get > the bitmap, do the blur and made texture and again paint it with OpenGL. > Is there any better other way? Yes. Render your scene to a texture. Render a full screen quad textured with your scene texture using a blur shader (or two shaders (a horizontal and a vertical one) as it's faster). For details google "opengl gaussian blur" or "opengl post-processing". R. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
