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
DownloadSomething wrong with this page or the download?
Contact the site custodians via email, if:
- This shader is obviously incomplete (missing files, not loading) etc.
- This shader violates IP rules (is pirated) or contains harmful content
- You are having problems with the shader installer (INSTALL.command) or the download.
How to get help with this particular shader
Sadly, the custodians likely will not be able to explain to you how a shader works or debug its code, or fix it for you. That is the (volountary) role of the shader author.
If the shader does not work on your system or you have questions about it - read the shader description, and try to find the email address of the shader author. Contact them for any issues – letting them know whether you are on Mac or Linux, what version of IFFS you are running etc. will likely help. Be kind and respectful. If you can't get hold of the author - you can try asking in the Logik forum at logik.tv and ask whether anyone could help you debug a particular shader not working.