hello all
i am trying to learn and make a depth of field shader, i have being looking on lighthouse 3d tutorials and slowly working through them, but there are some big holes in my unstanding.
but i have found a depth of field shader of sorts, but this shader also makes the geometry and displays the spheres in 2d. what i would like to do is pass in a 3d objects and then apply the depth of field shader. if any one could help me out, or point me in the direction that would be champion-)
when i have being hacking about small changes make it make very strange.
the shader from GLSL SandBox
and i got it from this post
http://forum.openframeworks.cc/t/vj-±mapped-projection-±light-control/10891/0
best
Ben