GuidedMatte (Compatible with IFFS 2025.2.3 and up)
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
Something 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.