Luma Key
Make dark areas transparent based on brightness.
Luma Key turns brightness into alpha. Pixels darker than the threshold become transparent, brighter ones stay. It is how you drop a black background out of footage without a green screen.
When to reach for it#
- Compositing light-on-black elements — fire, sparks, smoke, light leaks, lens flares.
- Removing a flat dark background from stock footage.
- Building a matte from luminance.
Parameters#
Brightness below which pixels vanish. Raise it until the background is gone and stop — going further eats into the subject's dark areas.
Widens the transition so the cut is a gradient rather than a hard edge. Essential on smoke and anything with soft boundaries; a hard key on smoke looks cut out with scissors.
Keys out the bright areas instead, for dark-on-white elements like ink or pencil on paper.
Things that catch people out#
Luma keying only works when the thing you want and the thing you do not are on opposite sides of the brightness range. Dark detail in the subject will always go with the background.
See also#
Something here wrong or missing? Tell us in the community.