Unity Products:Amplify Shader Editor/Primitive ID
Primitive ID Node
The Primitive ID node outputs the unique Id for each of the model primitives/triangles.
NOTE: Not available on Surface type shader type.
Nodes used:
Primitive ID,
Float,
Multiply,
Fract
Output Port | Description | Type |
---|---|---|
Out | Returns current primitive/triangle ID value. | Int |