Thanks everyone. If I create a new material with the same image in Blender it would accomplish the same thing as cloning it with code, correct?
For flat color, low poly scenes, is there much advantage in Babylonjs to doing colors with this image and UV method as seen in the video? Or would just choosing a color with the picker be about the same in terms of performance? (Blender to GLB)
I don’t know Blender, so I can’t tell if it will optimize the export by using a single material because both materials are the same in reality… You should give it a try.
For a single flat color, it is better to use an albedo color instead of a texture, as you will save the texture memory (even if it’s not much). But in the video they don’t use a single color for the mesh, so there’s no way around using a texture.