Houdini 20.5 Nodes Geometry nodes

Color geometry node

Adds color attributes to geometry.

The color (Cd) attribute affects the display of the wireframe, and of faces in non-VEX shaded mode. The default shader in mantra, and many other shaders, will also use the attribute for rendering.

The added attribute may be a point, primitive, vertex, or detail color.

Note

This is a Houdini Digital Asset and does not support local variables. To have different colors per element, see the other more advanced SOPs: /nodes/sop/point.html, Primitive Properties, /nodes/sop/vertex.html.

Parameters

Group

The geometry group to apply the color to.

Group Type

What the group is made of.

Class

Where to add the attribute to the geometry.

Delete All Existing Color Attributes

Removes Cd attributes of all types, point, primitive, vertex, or detail. This gives a clean slate so only the new color attributes will exist. Note some combinations, like primitive and point attributes, allow attributes of the same name.

Set Color Attribute

Whether to actually apply a new colour attribute. Useful in conjunction with the delete option to clear all colour from a geometry.

Color Type

What sort of color to add. Can be one of:

Constant

The same color is applied to all of the group.

Bounding Box

A color gradient is applied depending on the position of the entity in the bounding box.

Random

A random color is assigned to each group element.

Ramp from Attribute

An incoming attribute is remapped to color according to the provided ramp.

Color

This is the color to apply when in Constant mode.

Seed

This is the random number seed for the Random mode.

Attribute

The attribute to be remapped into color. If it is a single float, it is indexed directly into the ramp. If it is more than one float, each component is remapped independently.

Range

The incoming range of valid attribute values. Attribute values within this range will be remapped to 0-1 for the ramp lookup, values outside will be clamped.

See also

Geometry nodes