Ramp map

A node of the Style graph, in the Colour group.

An artist's ramp read from a picture strip: the number 0 to 1 picks along it, dark to light. A strip of several rows gives each ramp its own row. With no picture, the colour's own bands. Wire Key light through Remap into it.

Takes: light (scalar), ramp (ramp), file (text) · Gives: layer

Settings

SettingWhat it doesRangeDefault
File The picture strip's file; the node keeps its pixels. text —

Every setting is also an input: wire a value into it to change it per pixel. On the command line: pxr graph set game.pixor --which style --node ramp-map --set KEY=VALUE.

Wire it
number (+ ramp) → layer
Settings
File

What it wires to

Its light input takes a scalar, which these give: Add, Agreement, As a number, Blur, Cavity, Divide, Emissive, Fill light, Fraction, Hold between, Larger, Length, and 21 more.

What it gives, a layer, goes into: CRT, Output, Cleanup, Combine, Lines, Mesh edges, Choose by mask, Colour edges, Dither mix, Flatten, Layer over, Paint, and 10 more.

In the app, drag a wire from one of its dots: every dot the wire fits is ringed.

How it fits with the rest: the Style graph in the manual.

In the same group

Palette · Step the ramp · Step where masked · Flatten · Nearest colour · Palette dither · Tile colours · Sub-pixel motion