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 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!


comments powered by Disqus