Fewer draw calls for your Three.js scenes.
Guides optimization of Three.js scenes with repeated objects by replacing individual meshes with instanced rendering and batched transform updates.
When to use it
Use for scenes with at least 100 repeated objects sharing geometry and material, more than 500 draw calls with unstable frame times, thousands of moving entities, or a scene-graph traversal bottleneck.
It changes how the agent implements repeated objects in Three.js scenes, choosing static instancing or batched moving-instance updates according to the scene.
What you provide
The optimization examples use the three package for scene objects, instanced meshes, and transformation matrices.
No additional actions listed.