Houdini 20.5 Nodes APEX nodes

RampLookup<T>

Looks up the value of a ramp at a specified position.

On this page
Since 20.0

Looks up the value of a color or float ramp at a specified position.

Inputs

ramp: ColorRamp, FloatRamp

The ramp to look up.

position: Float

The position to look up. This is clamped between 0 and 1.

Outputs

result: Float, Vector3

The value of the ramp, returned as either a Float (for a float ramp) or a Vector3<Float> (for a color ramp). Float ramps are stored the same way as color ramps, but only the first channel (Red) is used for looking up values.

APEX nodes