crok_dof_blur (Compatible with IFFS 2012.0.0 and up)

Download this shader

This Matchbox shader simulates depth of field with bokeh.

Version 3.1

Input:

Setup:

Demo clip: https://vimeo.com/82195519

Shader developer: martins upitis

Based on http://devlog-martinsh.blogspot.fr/2011/12/glsl-depth-of-field-with-bokeh-v23.html

This work is licensed under a Creative Commons Attribution 3.0 Unported License.
You are free to share, modify and adapt it for your needs, and even use it for commercial use.

Matchbox version by ivar _at_ inferno-op.com


Version notes


Older versions that shader

7th of February 2016

Download
  • changed the name of the Blend slider to Saturation

13th of March 2015

Download
  • added demo pic and fixed XML file

31th of August 2014

Download
  • changed some default values
  • added demo pic
  • added to GitHub

19th of June 2014

Download
  • fixed Wrapping and Filtering mode

set WRAPPING to: it to GL_CLAMP_TO_EDGE set FILTERING to: GL_NEAREST

  • fixed Wrapping and Filtering mode

set WRAPPING to: it to GL_CLAMP_TO_EDGE set FILTERING to: GL_NEAREST

19th of June 2014

Download
  • updated ignore file
  • added shader to GitHub

19th of June 2014

Download
  • added shader to GitHub

5th of January 2014

Download

Version 2.3

  • new and physically little more accurate DoF
  • two extra input variables - focal length and aperture iris diameter
  • added a debug visualization of focus point and focal range
  • added tooltips to every function

18th of December 2013

Download

17th of December 2013

Download

17th of December 2013

Download

comments powered by Disqus