N E W
TSL object representing a varying property for the instanced color vector.
Type
VaryingNode<vec3>N E W
TSL function representing the standard instancing vertex shader setup. Transforms positionLocal and normalLocal, and assigns varying color in-place.
| Parameter | Type | Default Value |
|---|---|---|
| matrices | any | — |
| colors? | any | — |
Returns
anyN E W
TSL wrapper for applying instanced mesh rendering setup.
| Parameter | Type | Default Value |
|---|---|---|
| instancedMesh | InstancedMesh | — |
Returns
any