Optimize Three.js Games Measure before changing behavior, then validate the same gameplay path after every optimization. Establish a repeatable scene Choose a deterministic representative encounter and record device, viewport, quality level, player position, enemies, active effects, frame-time sample, draw calls, triangles, texture count, and warnings. Compare like with like. Diagnose the limiting side Suspect CPU when simulation, allocations, React work, pathfinding, or per-frame scans grow with actors. Suspect GPU when resolution, overdraw, shadows, transparent particles, post-processing, draw calls, geometry, or texture bandwidth dominate. Inspect before optimizing; do not lower quality blindly. Apply low-risk fixes first Reuse geometry/materials, pool transient effects, cull inactive/offscreen work, throttle noncritical UI updates, cap particle counts, avoid per-frame allocation, and update only changed transforms. Keep render quality settings explicit and reversible. Degrade decorative effects before combat readability or controls. Guard the result Show more Installs 1.8K Repository mengto/skills GitHub Stars 7.8K First Seen Jul 24, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass
optimize-threejs-games
安装
npx skills add https://github.com/mengto/skills --skill optimize-threejs-games