I am writing a Sketchfab exporter module for my SImpleBake add-on for Blender 2.8 using the Sketchfab API.
I am bring hampered by what seems to be a bug (or at least a limitation) in how Sketchfab matches texture files to materials.
In a nutshell, if the materials (and textures) don’t have very different names, this seems to confuse Sketchfab’s pattern matching.
It’s probably best explained by example. See the attached files, which illustrate this problem. As a summary:
Result: FAIL - Both materials Cube and OtherCube have the textures OtherCube_*** applied.
In comparison, this configuration would work fine.
Result: PASS - Textures are correctly applied to the respective materials.
Happy to clarify if any of that doesn’t make sense.
DoesntWork.zip (105.8 KB)
Works.zip (105.7 KB)