Overview
Adjusts tonal separation in an image or mask. It can make dark areas darker and bright areas brighter, or keep values from reaching full black and white.
The default OKLCH-L adjusts perceived brightness naturally. Switch mode when you
need direct RGB values, alpha-only adjustment, or HSV value.
Usage tips
- The five values have distinct roles:
input_black/whitedefines what becomes black/white and tightens the range;gammabelow 1 darkens midtones while a value above 1 brightens them;output_black/whitelimits how far black/white can go. - It is ideal for noise โ mask adjustment. Applying input_black/white to
noise_generateoutput controls patch area and density intuitively, providing a softer middle ground than threshold. - Choose between this and
tone_curveby shape: this node is faster for linear range adjustment, while a curve is better for an S-shape or other custom response.
Common pitfalls
- Tones disappear from over-adjustment: bringing input_black and input_white too close approaches a binary result. Keep space between them unless that is intentional.
- Input Black exceeds Input White: evaluation swaps them into ascending order and warns on both parameters. Reversing Output Black and Output White remains an intentional output inversion.
- Colors look muddy:
RGBmode also changes saturation. Keep the defaultOKLCH-Lwhen only luminance should change. - The mask edge becomes hazy: raising output in Alpha mode makes the entire mask translucent. Use the input controls when the goal is a crisper edge.
Examples
- Tighten character shadows with
OKLCH-Lso the pixel shapes read more clearly. - Use
Alphato make a translucent mask crisp. - Use
output_blackandoutput_whitefor a soft mask without crushed black or blown white.
Related nodes
tone_curveโ a freely shaped tonal curveauto_levelsโ adjust the range automaticallythresholdโ complete binarizationbrightnessโ simple brightness increase/decrease