0.3.3 • Published 3 years ago

webgl-gltf v0.3.3

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

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
  • GLTF+bin files over the Internet (CORS should be enabled for all 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

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago