Create a mask in a moving graphic

Sat Jul 10, 2021 9:18 pm

Let's say I have a moving graphic from a shader or a video or an animated gif.

I would like to show (or blend in) another graphic only in the parts of the video whichare black (or darker as the rest in general). Ideally the level of brightness where this kind of masking should happen should be adjustable.

Is this possible?
TKS
 
Posts: 65
Joined: Mon May 17, 2021 10:40 am

Re: Create a mask in a moving graphic

Sat Jul 10, 2021 9:39 pm

Feed your video into the Lumakey module (Add > Effects2D > Lumakey), with Falloff set very high (e.g. 0.95)

Adjustments to Strength will set the "black" level, below which your video will become transparent.
Put your graphic on the layer below (the pin on the following module that is below the pin to which LumaKey is connected).

Falloff can be adjusted to optimise the blend. The two adjustments interact, so if you change one it's likely that you'll also benefit from adjusting the other.
Terry Payman
 
Posts: 642
Joined: Sun Sep 14, 2014 8:15 am
Location: UK

Re: Create a mask in a moving graphic

Sun Jul 11, 2021 4:17 pm

Terry Payman wrote:...
Put your graphic on the layer below (the pin on the following module that is below the pin to which LumaKey is connected).


Ah, that's what I did wrong all the time. Thanks a lot for your help, this works perfectly!
TKS
 
Posts: 65
Joined: Mon May 17, 2021 10:40 am

Return to General Discussion

© 2021 Color & Music, LLC • This web site is mobile-friendly