N E W

instanceColor

Last modified: Oct 19, 2026

TSL object representing a varying property for the instanced color vector.

Type

VaryingNode<vec3>
N E W

instance

TSL function representing the standard instancing vertex shader setup. Transforms positionLocal and normalLocal, and assigns varying color in-place.

ParameterTypeDefault Value
matricesany—
colors?any—

Returns

any
N E W

instancedMesh

TSL wrapper for applying instanced mesh rendering setup.

The instance data of the rendered mesh are bound per object via ReferenceAttributeNode, so instanced meshes share builds.

ParameterTypeDefault Value
instancedMeshInstancedMesh—

Returns

any