Documentation / Node reference / tex nodes

tex/Palette

Creates a colour palette as a texture one pixel tall.

Color

Generates a palette: the hue travels around the colour wheel while saturation and lightness sweep between two values. Use it on any texture input, or as a lookup table for colouring by attribute.

Parameters

Name Type What it does
colorsCount UInt32 Number of colours.
hueStart Float Anchor hue, as a fraction of a turn.
hueStartCenter Float Anchor hue position: 0 first, 0.5 middle, 1 last.
hueCycles Float Turns around the hue wheel. Negative reverses.
hueEasing UInt8 LINEAR · POWER_1_5 · QUADRATIC_IN · QUADRATIC_OUT · QUADRATIC_IN_OUT · CUBIC_IN · CUBIC_OUT · CUBIC_IN_OUT · SINE_IN · SINE_OUT · SINE_IN_OUT How the hue travel spreads along the palette.
saturationRange Vector2 Saturation at the start and end.
saturationEasing UInt8 LINEAR · POWER_1_5 · QUADRATIC_IN · QUADRATIC_OUT · QUADRATIC_IN_OUT · CUBIC_IN · CUBIC_OUT · CUBIC_IN_OUT · SINE_IN · SINE_OUT · SINE_IN_OUT How saturation changes between its start and end.
lightnessRange Vector2 Lightness at the start and end.
lightnessEasing UInt8 LINEAR · POWER_1_5 · QUADRATIC_IN · QUADRATIC_OUT · QUADRATIC_IN_OUT · CUBIC_IN · CUBIC_OUT · CUBIC_IN_OUT · SINE_IN · SINE_OUT · SINE_IN_OUT How lightness changes between its start and end.
colorModel UInt8 OKLCH · HSL Colour model the hue, saturation and lightness are read in.
outputMode UInt8 DISCRETE · INTERPOLATED How the colours fill the texture.
resolution UInt32 Width in pixels. The texture is one pixel tall.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.