Game dev
Saved & recent

Instancing

Also called: GPU instancing, instanced rendering

Drawing many copies of the same mesh in one draw call. The mesh is sent once, together with a list of per-copy data: a transform, perhaps a color. The GPU repeats the mesh for every entry.

A forest of 10,000 trees becomes one call instead of 10,000. It works whenever the copies share a mesh and a material: grass, crowds, debris, bullets.

Further reading
Unity: GPU instancing
shared tree mesh transforms one instanced draw 9 instances
The transform list changes each tree’s position, rotation and scale. One instanced draw uses that list with the same mesh and material for all nine trees.

View in the full Game dev collection