Lightlines
By playableintelligence

threejs-perf

playableintelligence593 installs

Fewer draw calls for your Three.js scenes.

What it does

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.

How to use it

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

  • An existing project

Latest review

What you need · 1

The optimization examples use the three package for scene objects, instanced meshes, and transformation matrices.


Access · 0

No additional actions listed.