Nodes > Inputs > Shader > Instance Ratio
Ratio of the current Instance ID compared to the total Instance Count. Useful when the material's "Instance Count" is greater than 1, which causes multiple instances of the mesh to be drawn.
While the Instance ID starts from 0, Instance Ratio is equivalent to dividing the Instance ID node by the Instance Count minus 1.
Outputs
Name | Type | Description |
---|---|---|
Instance Ratio | float | Ratio of Instance ID compared to Instance Count |
Was this page helpful?