This is a starter template for threejs with vite based on Bruno Simon's starter.
npm install
npm run dev
Scene management
: Add multiple scenes and switch between them by adding?scene=scene-name
to the urlDebug mode
: Enable debug mode by adding#debug
to the urlGltfClone
: Clone a gltf model with bonesSound management
: Minimal sound managementInput management
: Minimal input managementaddMeshDebug or addMaterialDebug
: Auto debug parameters of a mesh or a material