PDA

View Full Version : Post Processing



heyufool1
08-11-2010, 09:02 AM
Hi! I want to start implementing some post processing effects, but before I do I want to make sure I have the right idea of what I should do. This is what I think I have to do:

1. Activate a framebuffer object and clear it
2. Render the scene
3. Deactivate the framebuffer object and clear the screen
4. Set the camera to an orthographic projection
5. Render a plane on the screen
6. In the shader apply the post processing effects to the scene texture then apply the final scene texture to the plane.

Is that basically correct?

ZbuffeR
08-11-2010, 09:35 AM
A detail but it should be 6 then 5.
And do not forget to bind your fbo as the texture for steps 6-5.

heyufool1
08-11-2010, 09:38 AM
Ok cool, thanks for the clarification!

mirzapinku
08-17-2010, 11:00 AM
Hi All
I am new user of openGL. I need to control object for moving or anything else in my figure drawn by openGL. For example an object is running , I will control its movement e.g. left or right.