Round corner for image layers

Trendy effect, an image node that allows rounded corners.
Like the rounded rectangle node, but with an image instead of color.

I recall there was some QC Core Image filter code in one of their example comps to do this.

Vuo doesn’t have CI filters, so I guess converting from the QC CI round-corners patch (if somebody can find it, it’s not in the patch library) to ISL shader code for a Vuo node is one way you could get this done quickly if you can code GLSL. I forget how the code went, but was pretty straight forward maths using a comparison operator with the radius input to knock pixels on the corners out to (r,g,b,a,) = (0,0,0,0).

@useful_design thanks for the idea, should dive into coding a bit now that Vuo has shader support !