wg

webgl-gltf

GLTF Viewer For WebGL

Showing:

Popularity

Downloads/wk

2

GitHub Stars

13

Maintenance

Last Commit

5d ago

Contributors

2

Package

Dependencies

1

Size (min+gzip)

12.5KB

License

ISC

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

webgl-gltf

A small GLTF loader For WebGL. Only depends on gl-matrix.

Supports both WebGL and WebGL 2.

Please see example folder for implementation.

Documentation

Please see the wiki for documentation Wiki

Supports

  • Multiple meshes
  • Textures
  • PBR materials (base color, metal-roughness, normal, occlusion and emissive)
  • Animations
  • Animation blending
  • Multiple animation tracks
  • GLTF+bin files

Does NOT support

  • Fully binary (.glb) files
  • GLTF with embedded data
  • Any GLTF extensions
  • All animation interpolations are treated as LINEAR

Demo

Installation

  • npm install webgl-gltf

Run example code

  • npm install
  • npm run start

Models curtesy of https://github.com/KhronosGroup/glTF-Sample-Models

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100