crok_defocus (Compatible with IFFS 2015.0.0 and up)

Download this shader

This Matchbox comps front and back and adds a defocus effect.

Input:

Setup:

Demo clip: http://vimeo.com/110723577

Based on: https://www.shadertoy.com/view/4d2Xzw by David Hoskins
License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Matchbox version by ivar _at_ inferno-op.com and some friendly fokes


Version notes


Older versions that shader

17th of May 2015

Download
  • did some code cleanup

27th of February 2015

Download
  • FIXED Premultiplied issue

Now you can blur the FG without getting black edges

26th of February 2015

Download
  • clamping now negative blacks to 0

26th of February 2015

Download
  • FIXED “blacks not blurring” bug

26th of February 2015

Download
  • Added Back Strength Matte input
  • changed the colour of the dots to an yellow orange tint for both strength inputs

26th of February 2015

Download

Added Strength Input Matte

25th of February 2015

Download
  • changed the description

25th of February 2015

Download
  • Added to GitHub

This is a heavily pimped version of the crok_bokeh one. You can now
COMP FG and BG and apply independent Blur and Gain values to tweak the
comp.

Thx to the wonderful friends who brought us the comp option!


Something wrong with this page or the download?

Contact the site custodians via email, if:

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.