Why does my mesh object has too many materials?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By RubikAZ

I made an object in Blockbench, I exported it to use it in my project but when I try to apply the texture, there are a lot of materials, if I add the texture, only one block gets painted whit the texture. This means that there are a material for each pixel. How can I turn my obj to have only one surface to use my texture properly?

Screenshot below

I think the cause is outside Godot, but from the way Blockbench exports a mesh.
Anyway, in Godot you can try to loop to all surfaces and apply your material.

nightrobin | 2021-02-12 15:45