Skip to content

Nodes · Color

Clamp

Colorv1coreConcat: Pointwise

Overview

Limits values to a range — kill negative pixels or super-whites before an op that can't handle them.

How to

How-to

  1. Set low and high; values outside are clipped.
  2. Turn on clamp_alpha to clip alpha too.
  3. Put it before an op that cannot handle negatives or super-whites.

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 this node writes: rgba, rgb (alpha passes through untouched), alpha only, all, or none (bypass). Everything unselected comes straight from the input — same as Nuke. allrgbargbalphanone
lowFloat0.0The floor: nothing below this leaves the node.
highFloat1.0The ceiling.
clamp_alphaBoolfalseClamp alpha too, not only colour.
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).