Many copies. One draw.
A single glTF mesh becomes a field of pylons when EXT_mesh_gpu_instancing supplies per-instance
translation, rotation, and scale accessors. The geometry and material stay shared while the transforms move on the GPU.
Building one shared mesh, three transform accessors, and a loader-parsed instanced asset…
- backend
- —
- instances
- —
- batch
- —
- asset calls
- —
- frame ms
- —
The loader will create one InstancedMesh after parsing the extension.
waiting
waiting
waiting
waiting
waiting
waiting
The node transform is multiplied by each instance transform. Instancing saves repeated draw overhead, but a widely scattered batch can make culling less precise.
The study uses GLTFLoader's native EXT_mesh_gpu_instancing extension path and tracks every loaded resource for explicit release.
Derived from the official glTF instancing example, GLTFLoader, and the Khronos EXT_mesh_gpu_instancing contract. Use ?forceWebGL=1 to inspect the labeled WebGL2 reference.
The renderer or loader could not create the study.