Skip to content

Nodes · Color

GradientMap

Colorv1coreConcat: Pointwise

Overview

Colours the image by its brightness: each pixel's luminance picks a colour along a ramp - dark to the ramp's left, bright to its right. A stop's opacity is how much of its colour replaces the pixel's; alpha passes.

Inputs

InputWhat it takes
inthe image this node works on
masklimits the effect to this matte — the engine's universal mask slot, applied for every node that declares it

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
channelsChoicergbaWhich channels the node writes; the rest pass through. allrgbargbalphanone
rampRamp2 stopsThe colours, left (dark) to right (bright). Click the bar to add a stop, drag a stop to move it, drag it down off the bar to remove it. A stop's colour can go above 1 for an emission look; its opacity blends the mapped colour over the original.
lowFloat0.0The luminance that lands on the ramp's left end. Darker pixels take the first stop's colour.
highFloat1.0The luminance that lands on the ramp's right end. Brighter pixels take the last stop's colour.
luma_mathChoicerec709How brightness is measured: rec709 (the default), ccir601, the average of the channels, or the brightest channel. rec709ccir601averagemax
disabledBoolfalseBypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back.
labelTextA note shown under the node in the graph — what this node is FOR. Never affects the render or the cache.
hide_inputBoolfalseDraw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap).