Unity Products:Amplify Shader Editor/Primitive ID: Difference between revisions
Jump to navigation
Jump to search
ampwiki>Amplify RnD Rick No edit summary |
AmplifyWiki (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 00:06, 2 December 2023
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 |