I'm trying to work with shaders and made some good progress, making glass and another tratments here. Fine!
Now, I want to give one more step, and working with glow or blur effects, within shaders.
Studying around, I think I understood the steps to make a glow shader. Correct me if I misunderstood:
1. Create a new framebuffer;
2. Render the glowing parts in this framebuffer;
3. Blur them (gaussian);
4. Proceed with the rendering normally;
5. SUM that "new" framebuffer to the current framebuffer;
6. Let's go to the screen.
So, first of all, I need to learn how to create a new FBO (Frame Buffer Object).
I saw that I have to use this void function:
glGenFramebuffersEXT(x,y);
But, seems that I cannot call this function inside the Irrlicht fragment shader.
How can I create a new framebuffer using shaders inside Irrlicht?
Thanks, and don't forget, I'm newbie
![Very Happy :D](./images/smilies/icon_biggrin.gif)