Here is a short example of how to use a GLSL shader for a Depth of Field effect inside Openframeworks.

Code at : github.com/kamend/Kinect-DOF
GLSL code by Martins Upitis (devlog-martinsh.blogspot.com/)

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…