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?
Create a mask in a moving graphic
-
- Posts: 710
- Joined: Sun Sep 14, 2014 8:15 am
- Location: UK
- Contact:
Re: Create a mask in a moving graphic
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.
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.
Re: Create a mask in a moving graphic
Ah, that's what I did wrong all the time. Thanks a lot for your help, this works perfectly!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).