three-loaders
- This Repository wraps the original three.js loaders to use it in modern javascript applications
- Until now it only wraps the gltf loader and the draco loader with no additional needed draco files
- It is important to make the files available in the draco folder.
Installation
- To install use either npm
npm install threenpm install three-loaders
- or yarn
yarn add threeyarn add three-loaders
Usage
All credit goes to DRACOLoader.js contributors and to GLTFLoader.js contributors.
;; // Init THREE scene (add your code)const loader = ;loader;loader;