Unity Products:Amplify Shader Editor/Primitive ID

From Amplify Creations Wiki
Revision as of 00:06, 2 December 2023 by AmplifyWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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