Post Processing

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?

A detail but it should be 6 then 5.
And do not forget to bind your fbo as the texture for steps 6-5.

Ok cool, thanks for the clarification!

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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.