masking

jrs's picture

Hi All,

I have a composition where I'm trying to frame some videos (So they don't have square edges) and move them around. I'm placing a mask image I generated in illustrator with a black border and transparent center just in front of the movie which works great.

The think I can't figure out though is how to mask around the edges of the video properly so that when they move over each other I can't see the mask image - see attached composition for a demo with pictures instead of movies.

Would there be some way to use a pixel shader to not render any of the black pixels? I know at first this seems to look like it would just remove the mask image exposing the video again but I was thinking I could render the video and frame in a "render in image" patch first?

Cheers - James

PreviewAttachmentSize
frame_test.qtz25.69 KB