Previous topicNext topic

Create a mask in a moving graphic

Questions, comments, feedback, etc.
Post Reply
TKS
Posts: 139
Joined: Mon May 17, 2021 10:40 am

Create a mask in a moving graphic

Post by TKS »

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?
Terry Payman
Posts: 710
Joined: Sun Sep 14, 2014 8:15 am
Location: UK
Contact:

Re: Create a mask in a moving graphic

Post by Terry Payman »

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.
TKS
Posts: 139
Joined: Mon May 17, 2021 10:40 am

Re: Create a mask in a moving graphic

Post by TKS »

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!
Post Reply