You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3D models are exported with empty materials, but the materials are named and assigned to the correct vertices. The material names are exported directly with no formatting. Sometimes the material name length exceeds the Blender limit of 64 characters.
Possible solutions:
Clamp material lengths to 64 characters (not good)
Remote the beginning material path length. Often what causes these to exceed 64 characters is a full path: ex. /Lotus/Characters/Tenno/Excalibur/SomeMaterial. This can be trimmed to SomeMaterial.
Implement the above, but also export the full path to Blender's Custom Properties section. I'm not sure if this is possible with glTF.
The text was updated successfully, but these errors were encountered:
fx-gltf allows for any extra properties via the extensionsAndExtras property on materials. This is also supported on meshes.
Blender will import anything in the "extras" extension. So to add a Blender "Custom Property" to materials, the code is mat.extensionsAndExtras["extras"]["FullPath"] = materialPath;
3D models are exported with empty materials, but the materials are named and assigned to the correct vertices. The material names are exported directly with no formatting. Sometimes the material name length exceeds the Blender limit of 64 characters.
Possible solutions:
/Lotus/Characters/Tenno/Excalibur/SomeMaterial
. This can be trimmed toSomeMaterial
.The text was updated successfully, but these errors were encountered: