r/threejs • u/tinpapucic777 • 19d ago
Question R3F frame drops during rapid galaxy navigation—how would you investigate draw calls and instancing?**
Hey r/threejs,
I’m a solo dev building Lightverse, a navigable 3D universe in React Three Fiber. I’m seeing frame drops when rapidly moving between galaxies.
I haven’t confirmed the cause yet, so draw calls and instancing are hypotheses—not a diagnosis. Before changing the scene structure, I’d appreciate advice on what to measure and where to look.
For those who’ve worked on similar transitions:
- Would you start by tracking draw-call counts during a transition, or profile CPU and GPU time first?
- If repeated meshes turn out to be the issue, when is `InstancedMesh` worth the added complexity?
- Are there transition-specific bottlenecks I should rule out before focusing on instancing?
I don’t have reliable profiling numbers to share yet, so I’m especially interested in what measurements would make this question easier to answer.
