3D node
Set Vertex Color
Writes colour onto each element: vertex colour on a mesh, or per-particle colour on a point cloud, whichever the input carries. Source picks where the colour comes from: one flat colour, a two-colour ramp, random per element, a texture sampled at each element's UV, or the swatches of a Palette node. Render 3D reads it without being told.

What it does
Set Vertex Color is a 3D node: it builds, changes or lights geometry that Render 3D turns into a picture. It takes 3D shape, picture and colour palette in and gives 3D shape out.
Try it
Colour a scatter of points from a Palette so every point picks one swatch.
Mesh to PointsSet Vertex Color (Palette)Render 3D
Inputs and outputs
Inputs
- 3D shape geo
- picture texture
- colour palette palette
Outputs
- 3D shape out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| source | Flat, Position, Normal, Index, Random, Palette, Texture | 0 |
Example patch
This patch wires Set Vertex Color to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# Set Vertex Color: a starting patch for the Set Vertex Color node
node 1 3D Set Vertex Color
id node
pos 520 300
end
node 2 3D Cube
id in0
pos 0 220
end
node 3 Source Ramp
id in1
pos 0 510
end
node 4 3D Render 3D
id view
pos 1080 300
end
node 5 Utility Output
id out
pos 1640 300
end
geo node 0 in0
cable node 1 in1
geo view 0 node
cable out 0 view