N E W

instanceColor

Last modified: Aug 6, 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.

ParameterTypeDefault Value
instancedMeshInstancedMesh—

Returns

any