donmccurdy/glTF-Transform

How to add prefix to baseColor_xx.jpg?

Closed this issue · 0 comments

After using the write method, there will be three files exported: baseColor.jpg, modelName.bin, and modelName.gltf. However, all my resources are stored in one directory. Different models will use the same baseColor.jpg file, but they actually have different contents, which may cause them to overwrite each other. I haven't found a place where I can configure the name "baseColor". Please let me know how can I make the exported texture image in the form of modelName.baseColor.jpg, thank