We've added a new class,
PostProcess, to our architecture to assist in applying post-process effects. The code can be found in
js/webgl/PostProcess.js. This class will create the appropriate framebuffer and quad geometry for us, compile the post-process shader, and perform the appropriate render setup needed to draw the scene out to the quad.
Let's see it in action!