View Full Version : How to Blur in OGL
04-19-2002, 07:48 PM
I just want to know how to blur after i draw a scene.
04-19-2002, 07:54 PM
Draw to an offscreen buffer that's smaller than the screen, bind it to a texture, and render to screen with interpolation. There's two ways of doing this:
1) using pbuffer/render_texture extensions
2) drawing to framebuffer, then doing CopyTexSubImage
04-24-2002, 09:15 AM
Also, you could try using an accumulation buffer, to make it look cool (but eat up fill rate).
04-24-2002, 12:50 PM
there you get infos about very fast extreme blurring, even if they only blur the glow, and they use directx, the idea is all you need (i've coded it for gl with wgl_arb_render_texture for blurring everything (thought buggy because of driver issues on nvidiaboards)
or nutty has a glow-demo made by this, with sourcecode.. www.nutty.org (http://www.nutty.org)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.