Compositing node
Luma Key
Keys out a range of brightness (Low to High) instead of a colour, with Softness at the edges and Invert to flip which range is kept. The show option previews the matte.

What it does
Luma Key is a compositing node: it layers, masks and routes pictures. It takes picture in and gives picture out.
Try it
Key out a white sky from a skyline photo and drop a new sky behind it.
Image SourceLuma KeyBlendOutput
Inputs and outputs
Inputs
- picture input
Outputs
- picture out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| low | 0 to 1 | 0.100000001 |
| high | 0 to 1 | 1 |
| softness | 0.001 to 0.3 | 0.0299999993 |
Example patch
This patch wires Luma Key to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# Luma Key: a starting patch for the Luma Key node
node 1 Compositing luma key
id node
pos 520 300
end
node 2 Source Ramp
id in0
pos 0 300
end
node 3 Utility Output
id out
pos 1080 300
end
cable node 0 in0
cable out 0 node