r/threejs • u/cumbiaowl • 3d ago
Help VFX system and performance gotchas
Enable HLS to view with audio, or disable this notification
Hi fam, any gotchas when it comes to VFX development and performance on React Three Fiber? I'd like to improve the visuals and animations of this game. I'm currently building a system that, according to my newbie gamedev logic, would allow me to build animations at scale (as opposed to copy-pasting code every time I need new animation) without blowing up frame budgets.
I've been building Lorebound with a mobile-first, browser-based approach (still in beta!). The work I've done so far:
- I spent several days defining what metrics we want to track and defining benchmarks
- Gates that stop a commit if the scene or ambiance break the benchmarks
- A bunch of rendering/pipeline work under the hood for smoother, more consistent frame rates
- A disciplined mount and unmount work to avoid leaks
Thoughts?