Author: Romain Vergne (website)
Please cite my name and add a link to my web page if you use this course

Image synthesis and OpenGL: post-processing

Quick links to:
  1. Principle
  2. Gamma correction
  3. Color correction and clamping
  4. Blending colors / Fog
  5. Depth of field
  6. Motion blur
  7. Lens flare
  8. Glowing
  9. Tone mapping
  10. Screen Space Ambient Occlusion
  11. Antialiasing
  12. Sources

Principle

  1. Draw the 3D scene inside a texture using FBOs
  2. Map the texture on a quad that covers the entire screen
  3. Apply the post-process in a fragment shader 




Gamma correction



Color correction and clamping


Image taken from CryEngine3


Blending colors / Fog



Depth of field


Hitman

Motion blur



Crytek interview

Crysis 2

Lens flare




Glowing




More information here

Tone mapping



Original HDR Image (cannot be displayed properly)

Tone mapped (LDR) Image


Screen Space Ambient Occlusion


SSAO

Comparison with/wihout SSAO

Many advantages:

Antialiasing


MLAA

SMAA

Sources


PREVIOUS: EXERCICE08
NEXT: EXERCICE09