CesiumGS/obj2gltf

include .mtl and textures in node js?

codepushed opened this issue · 1 comments

Hey, I want to convert obj to glb, i am using node. How to do I include .mtl and textures?

.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