Skip to main content
Version: 5.x

Nodes > Inputs > Shader

Instance Count

Returns the material's "Instance Count" parameter, which controls how many instances of the mesh will be drawn each time the material is rendered.

Instance ID

Instance ID of the instance being drawn. Used with the material's "Instance Count" property.

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.

Is Front Facing

Returns 1 if the surface is front facing, 0 if back facing.

Primitive Count

Outputs the total number of primitives in the mesh being rendered.

Screen UV Coord

Screen coordinates of the current surface.

Vertex ID

Outputs the vertex index of the surface.

Was this page helpful?
Yes
No