GuidedMatte (Compatible with IFFS 2025.2.3 and up)

Download this shader

Guided Matte refines a rough matte using colour detail from a guide image, usually the original plate. The full RGB guided filter follows colour boundaries, including edges with similar luminance.

Connect the original plate to Guide / Plate and a monochrome mask to Rough Matte. Blur Width is like a search range, and Edge Detail controls the detail frequency to include.

Based on Rafael Silva’s rs_GuidedBlur 1.3 Nuke gizmo, which in turn was based on Guided Image Filtering by Kaiming He, Jian Sun and Xiaoou Tang (ECCV 2010). Big thanks to Rafael for the original tool.

Flame version by Nils Crompton
Questions or bugs:

Version 0.4. Aimed at Flame 2025.2.3 and up. Compiler checks have passed on Mac in 2025.2.3 and 2026.2.2; an earlier build also passed in 2025.2.5. Linux hasn’t been tested yet, and matching results across versions still needs a visual check.

Shared under MIT, with the upstream BSD-2-Clause notices kept in the source. Commercial use and modifications are welcome—please keep the licence notices with it. The full texts are included in the GLSL files.


Version notes

Updated info


Older versions that shader

19th of September this year, around 02:35

Download

Updated info

19th of September this year, around 01:41

Download

Updated info, compatibility, and icon

19th of September this year, around 01:25

Download

First submission


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.