Seen Geometry

01 · Instanced field

Copies
—
Draw calls
—

01

Instanced field

Instancing draws one shape many times. Each copy has its own matrix for position, turn, and size.

Look at Draw calls. The number stays at 1. The computer draws every copy in one pass. The copies share one shape. Only their matrices differ.

Select a block

Click a block, or type its number. The rightmost column of the matrix is the position of that copy.

4×4 matrix for this copy. Read each row from left to right. The rightmost column is the position.
————
————
————
————

Color shows height. Color is not in the matrix. Taller blocks are darker.

Where this is used
Common mistakes

Next: morph targets

Loading the picture…