obj2gltf icon indicating copy to clipboard operation
obj2gltf copied to clipboard

Override texture flags not having any effect

Open Nakroma opened this issue 2 years ago • 1 comments

Hey, I have an OBJ model without an MTL file. So I'm trying to pass my textures via the external override flags, for example: obj2gltf -i mymodel.obj -o mymodel.gltf --baseColorTexture=assets/mymodel_albedo.png.

However, this has no effect, the generated gltf file is the same as the model that gets generated when I remove the --baseColorTexture flag.

I also saw #141 and tried to create an empty MTL file and add mtllib mymodel.mtl as the first line to my OBJ file, which didn't change anything unfortunately. Am I using these flags wrong?

Nakroma avatar Jun 07 '23 09:06 Nakroma

any updates on this fix

yosun avatar Jun 29 '24 01:06 yosun