Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override texture flags not having any effect #290

Open
Nakroma opened this issue Jun 7, 2023 · 0 comments
Open

Override texture flags not having any effect #290

Nakroma opened this issue Jun 7, 2023 · 0 comments

Comments

@Nakroma
Copy link

Nakroma commented Jun 7, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant