Unity Products:Amplify Shader Editor/Primitive ID

From Amplify Creations Wiki
Jump to navigation Jump to search

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


Back to Node List