google-ar / three.ar.js

A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore
https://developers.google.com/ar/develop/web/getting-started
Apache License 2.0
2.91k stars 365 forks source link

fixes bug in mtl loading pipeline #33

Closed mprafson closed 6 years ago

mprafson commented 6 years ago

material paths were missing the trailing "/" and didn't support materials that were greater than 1 directory away. this solution should work for paths of any distance.