UNPKG

create-three-demo

Version:

Unofficial Vite + Three.js template with convenience helpers and examples

12 lines (9 loc) 407 B
// A basic scene with meshes, a light, shadow, // and orbit controls using setupScene convenience function import "./examples/basicSceneDemo"; // A scene with a custom shader material // and GUI controls using setupScene convenience function // import "./examples/shaderSceneDemo"; // A simple fullscreen fragment shader demo using // the ShaderCanvas convenience class // import "./examples/shaderDemo";