wge-three-mtl-loader
v1.0.2
Published
node module for the three mtl loader
Downloads
1
Maintainers
Readme
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
});