crok_dof_blur (Compatible with IFFS 2012.0.0 and up)
This Matchbox shader simulates depth of field with bokeh.
Version 3.1
Input:
- Front: source clip
- Depth Map: depth map
Setup:
- Amount : how much blur is applied
- Threshold : highlight threshold
- Gain : highlight gain
- Chromatic Abe. : highlight chromatic aberration
- Dither : sample dithering amount
- Rings : ring amount
- Samples : how many samples are used for the bokeh
- Noise : use noise instead of pattern for sample dithering
- Pentagon Shape : use pentagon as bokeh shape
- Feather Shape : pentagon shape feather
- Range : focal range
- Focal Depth : focal depth, if you use an external matte
- Autofocus : use autofocus in shader
- Depth Map Blur : blurs the depth buffer
- Bias: bokeh edge bias
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
- changed the name of the Blend slider to Saturation
Older versions that shader
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
5th of January 2014
DownloadVersion 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
Download17th of December 2013
Download17th of December 2013
Downloadcomments powered by Disqus