Documentation
Color processing.gradientMap
The Gradient Map node on the VFX Loom graph canvas.
Fig. 1 The Gradient Map node in its resting, collapsed state on the VFX Loom graph canvas.

Overview

Maps an Image input through a four-stop colour ramp while preserving alpha. Use Shape or Distance as the scalar-field source.

Pointwise gradient lookup from input luminance; alpha is preserved.

Category
Color
Internal ID
processing.gradientMap
Version
VFX Loom 1.0

Inputs

InputTypeRequiredDefaultMeaning
in Image Required See the overview for the node's documented behavior.

Properties

PropertyTypeDefaultAnimatableRange / optionsEffect
Stop 0 Color (0,0,0,1) Yes Animatable control; changing it over time varies the node response.
Stop 1 Color (.25,.25,.25,1) Yes Animatable control; changing it over time varies the node response.
Stop 2 Color (.75,.75,.75,1) Yes Animatable control; changing it over time varies the node response.
Stop 3 Color (1,1,1,1) Yes Animatable control; changing it over time varies the node response.
Stop 1 At Scalar 1/3 Yes Hard 0..1 Animatable control; changing it over time varies the node response.
Stop 2 At Scalar 2/3 Yes Hard 0..1 Animatable control; changing it over time varies the node response.
Interpolation Enum Linear Not declared Linear · Smooth · Constant Selects the interpolation behavior; each option changes the operation described in the overview.

Outputs

OutputTypeMeaning
out Image The production node output described by the overview.

Usage

In practice

  • Use Gradient Map when the graph needs Maps an Image input through a four-stop colour ramp while preserving alpha. Use Shape or Distance as the scalar-field source.
  • Pointwise gradient lookup from input luminance; alpha is preserved.
  • Use it after a source or scalar field, then send the adjusted image or colour value to a downstream composite or material stage.

Examples

These examples show Gradient Map in supplied VFX Loom graph setups. Each graph link opens the corresponding node reference; the explanation below the media is specific to this node's role in that setup.

Shape → Gradient Map → Emboss → Pixelate

A stylized ring pipeline that turns Shape coverage into a mapped colour image, adds relief-like contrast, then deliberately reduces detail with Pixelate.

VFX Loom graph showing Shape connected to Gradient Map, Emboss, and Pixelate, with a yellow ring preview.
Fig. 2The ring treatment: Shape coverage becomes colour, relief, and finally a pixel-stepped image.

How Gradient Map contributes

Gradient Map translates the Shape values into the yellow colour ramp visible in the preview. It is the point where grayscale coverage becomes a designed palette.

Notes / limitations

  • No step is declared for Stop 1 At or Stop 2 At.