Blur screen node

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
noob2008
Posts: 5
Joined: Fri May 30, 2008 8:10 am

Blur screen node

Post by noob2008 »

Hi
I'd like to create a glow on a screen node with OpenGL (simple rectangle) it seems this can be done by RTT and GLSL shaders but I'm not smart enough to get it working :)

I'm wondering if anyone else has done something similar and can give an example of the .cpp and vert/frag (note: I don't want to use a billboard)

here is an example from FX Composer and the Nvidia shader library of the effect I'm after it does multiple passes and uses a glow-map RTT method:

[img]<img%20src="http://i280.photobucket.com/albums/kk16 ... g">holo</a>[/img]

http://developer.download.nvidia.com/sh ... #post_halo

Thanks Heaps
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

TheQuestion = 2B || !2B
noob2008
Posts: 5
Joined: Fri May 30, 2008 8:10 am

Post by noob2008 »

Thanks Halifax
I gave that a go but I too have an ATI card (x1600 in a Macbook Pro), you mentioned at the end of the other post that you had this working, any chance of posting your final shader files as I have made the changes mentioned in the post and recompiled without any errors but I don't get any bloom/blur effects when running the demo?

Another thing will I be able to just blur a selected node with this method, do I set the render target to the node or apply a specific texture to the glowing node and blur that texture?

Thanks again for your help
Post Reply