include .mtl and textures in node js?
codepushed opened this issue · 1 comments
codepushed commented
Hey, I want to convert obj to glb, i am using node. How to do I include .mtl and textures?
lilleyse commented
.mtl and textures are handled automatically as long as the paths in the .obj / .mtl are correct.
E.g. in the .obj
there should be mtllib
like
And in the .mtl
there should be texture paths like