1
Substance Painter - Baking - Baking ID map fails with glTF files
on: June 08, 2021, 05:34:47 pm
Don't know if it's a bug or reading vertex colors from glTF files just was never implemented in Substance Painter, but here what's happening.
I created a cube in Blender with faces painted in two different colors in Vertex Paint mode. Then I exported it to glTF file. If I import cube from this glTF file back to Blender vertex color are still there.
Then I create a new project in Substance Painter and chose this glTF file. I open the Baking window and chose to bake an ID map from vertex colors. When I press "Bake selected textures" Substance Painter tells me:
[Baking] Could not find vertex colors in mesh : Cube
[Baking] Baking failed (Color Map from Mesh)
Missing input data. Check the logs for more information.
If I export the same cube in FBX format and then open it in Substance Painter and try to bake ID map — it works fine.
So the question is — was it never implemented or is it a bug? Or maybe Blender exports glTF files incorrectly? Or maybe I'm doing something wrong?
I created a cube in Blender with faces painted in two different colors in Vertex Paint mode. Then I exported it to glTF file. If I import cube from this glTF file back to Blender vertex color are still there.
Then I create a new project in Substance Painter and chose this glTF file. I open the Baking window and chose to bake an ID map from vertex colors. When I press "Bake selected textures" Substance Painter tells me:
[Baking] Could not find vertex colors in mesh : Cube
[Baking] Baking failed (Color Map from Mesh)
Missing input data. Check the logs for more information.
If I export the same cube in FBX format and then open it in Substance Painter and try to bake ID map — it works fine.
So the question is — was it never implemented or is it a bug? Or maybe Blender exports glTF files incorrectly? Or maybe I'm doing something wrong?
