A small GLTF loader For WebGL. Only depends on gl-matrix.
Supports both WebGL and WebGL 2.
Please see example folder for implementation.
Please see the wiki for documentation
- Multiple meshes
- PBR materials (base color, metal-roughness, normal, occlusion and emissive)
- Animation blending
- Multiple animation tracks
- GLTF+bin files
Does NOT support
- Fully binary (
- GLTF with embedded data
- Any GLTF extensions
- All animation interpolations are treated as LINEAR
Run example code
npm run start
Models curtesy of https://github.com/KhronosGroup/glTF-Sample-Models