KhronosGroup / glTF-Blender-IO

Blender glTF 2.0 importer and exporter
https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html
Apache License 2.0
1.48k stars 316 forks source link

We need unique names for materials in an exported GLTF that comes from UDIM tiles #2289

Closed NyxXaos closed 1 week ago

NyxXaos commented 1 month ago

Is your feature request related to a problem? Please describe. When a UDIM:ed material is exported from Blender with the exporter, it's split into different materials in the file, this is all fine, but they all share the same name which has the consequence that when imported (for example to Second Life) it's impossible to know which is which set (see screenshot).

Describe the solution you'd like It would be great if the material names includes the UDIM tile they are associated with, for example "MyMaterial.1024", even better if it could be made an option how the naming should be like! For example have a textbox where you could use tokens like <UDIM>, or allow a selection among some standard naming conventions.

Describe alternatives you've considered For now I will have to use an alternative method to pack the GLTF outside of Blender, there are some tools out there like "GLTF Packer" and "GLTF Maker".

Additional context image