PXC Documentation

PXC Home

Palette Replace

pre 1.18

Replace colors in a palette with new one.



Node Data

ColorArray

Display name

Palette Replace

Internal name

Node_Palette_Replace

Inheritances

node
node_processor
node_palette_replace

Inputs

node_palette_replace

palette

Palette In

palette

Palette From

palette

Palette To

float

Threshold

Outputs

node_palette_replace

color

Surface Out

This node takes a palette and modify color inside it by matching each color to the Palette In and choose the index of the closet color under the Threshold amount. Then match that index to the color in Palette To value.