three.jsDynamic Lights
Opt-in DynamicLighting avoids shader recompilation when adding/removing supported lights.100 meshes with 50 unique PBR materials. Use the Inspector to explore the scene.
Based on the three.js example
Modules bundled into the page, so this is one HTML file with no external files.
webgpu_lights_dynamic.html · MIT License · Copyright © 2010-2026 three.js authors · github.com/mrdoob/three.jsModules bundled into the page, so this is one HTML file with no external files.