What problem does it solve?
This Skill helps you add or modify Three.js 3D viewer capabilities so your models render correctly and your UI exposes the right controls without fighting the existing Viewer architecture.
Core Features & Use Cases
- Viewer extension via state + GUI: Add new GUI-controllable toggles by extending
this.state, wiring controls inside the appropriate addGUI() folder, and implementing the corresponding Viewer handler.
- Rendering capability enhancements: Extend lighting, display modes (wireframe/skeleton/grid/axes/background), animation playback, and camera behavior by updating the Viewer’s dedicated sections.
- Asset loading & environment updates: Introduce or adjust loaders (GLTF/GLB, Draco, KTX2, Meshopt, EXR) and environment maps by editing loader setup and
src/environments.js.
Quick Start
Use the 3d-features skill to add a new toggle that enables or disables a specific display mode (for example, showing the model’s bounding box) in the Three.js viewer.