MM_PhoneMatte (Compatible with IFFS 2015.0.0 and up)

Download this shader

Resolution-independent rounded-rect phone matte with an adjustable lozenge-shaped camera cutout, for matting real phone camera plates back into a mockup.


Version notes

MM_PhoneMatte — Procedural Phone Matte with Camera Cutout

A resolution-independent Flame Matchbox generator that produces a clean rounded-rect matte shaped like a phone body, with an optional camera-lens cutout — designed for matting real camera-plate phone footage back into a mockup composite.

Controls

Position — Pos X / Pos Y move the whole matte (body + hole together), in pixels.
Shape — Width, Height and Corner Radius are all expressed as a proportion of frame height, so the matte stays correctly sized and correctly rounded at any resolution. Edge Softness feathers the matte edge (0 = hard-edged garbage matte, higher for a softer comp blend).
Camera Hole — a single toggle to turn the cutout on or off.
Hole Shape — Hole Pos X / Hole Pos Y position the cutout relative to the phone matte’s own centre (also frame-height-proportional, so it stays locked to the phone body regardless of resolution). Hole Width and Hole Height are independent, so the hole can be stretched into an elongated shape covering a camera-and-sensor cluster rather than a single round lens. Hole Roundness ranges from 0 (sharp rounded rectangle) to 1 (full lozenge/stadium shape with fully rounded ends).


Older versions that shader

14th of August this year, around 06:33

Download

MM_PhoneMatte — Procedural Phone Matte with Camera Cutout

A resolution-independent Flame Matchbox generator that produces a clean rounded-rect matte shaped like a phone body, with an optional camera-lens cutout — designed for matting real camera-plate phone footage back into a mockup composite.

Controls

Position — Pos X / Pos Y move the whole matte (body + hole together), in pixels.
Shape — Width, Height and Corner Radius are all expressed as a proportion of frame height, so the matte stays correctly sized and correctly rounded at any resolution. Edge Softness feathers the matte edge (0 = hard-edged garbage matte, higher for a softer comp blend).
Camera Hole — a single toggle to turn the cutout on or off.
Hole Shape — Hole Pos X / Hole Pos Y position the cutout relative to the phone matte’s own centre (also frame-height-proportional, so it stays locked to the phone body regardless of resolution). Hole Width and Hole Height are independent, so the hole can be stretched into an elongated shape covering a camera-and-sensor cluster rather than a single round lens. Hole Roundness ranges from 0 (sharp rounded rectangle) to 1 (full lozenge/stadium shape with fully rounded ends).


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.