Autofocus DOF

This is a post process shader written in GLSL that I ported to Unreal with some adjustments. Below is the video showing the shader in action. The camera focuses on the objects at the center of the screen.

Link to GLSL code: (http://dl.dropbox.com/u/11542084/DoF_bokeh_2.4)

Screenshot of shader graph:

Advertisements