wge-three-mtl-loader

1.0.2 • Public • Published

three-mtl-loader

The three.js mtl loader as a module

Usage

var MTLLoader = require('three-mtl-loader');
var mtlLoader = new MTLLoader();
mtlLoader.setBaseUrl('/path/to/assets/');
mtlLoader.load('model.mtl', function(matl) {
  //do something with matl
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1

Package Sidebar

Install

npm i wge-three-mtl-loader

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

367 kB

Total Files

11

Last publish

Collaborators

  • dorps