JavaScript GPU libraries for portable rendering, shaders, effects, 3D scenes, Gaussian splats, and compute in the browser.
Overview
luma.gl is a modular GPU toolkit aimed at web-based rendering, compute, and data visualization. A portable device layer stays close to WebGPU while also supporting WebGL 2, from low-level buffers and pipelines through physically based materials, lighting, animation, and loaded 3D assets.
Packages split responsibilities: core adapters for GPU portability, an engine module for models and animation loops, shadertools for reusable GLSL and WGSL modules, effects for composable post-processing, scene description inspired by declarative 3D interfaces, splats for streamed Gaussian scenes, and gpgpu for compute workflows that avoid CPU readback.
First-class glTF 2.0 support covers physical materials, skeletal and morph animation, and selected extensions. The stack is general enough for broader 3D work but is primarily intended to underpin GPU needs of vis.gl visualization frameworks. Applications can adopt only the modules they need without taking a full standalone renderer runtime.
Interactive examples and documentation highlight HDR rendering, simulations, image-effect stacks, and standards-first asset workflows running live in the browser without a separate install step.
Key features
- WebGPU and WebGL 2 portability
- Composable WGSL and GLSL shaders
- glTF 2.0 assets and animation
- PBR materials and HDR effects
- Gaussian splat streaming
- GPU compute without CPU readback
- Modular npm package layout
- Scene graph and picking primitives
Use cases
- Web data visualization rendering
- Browser 3D and simulation demos
- glTF asset inspection pipelines
- Custom shader and effect stacks
- vis.gl framework GPU backends