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
});

/wge-three-mtl-loader/

    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