The original material has been cleared

When you add a material to the model, the original material of the model is removed

What’s exactly your question about? Here you replace a material by a new one, and it seems working as expected.

1 Like

Add the blue texture to your material.

myMaterial.diffuseTexture = new BABYLON.Texture(“PATH TO IMAGE”, scene);

Well, this model originally had a blue texture, but when I added the texture of Babylon to it, the texture of the original model disappeared

Yep because this is what your code do: you’re replacing the current material by a new one.

So if you want a new material but still using your texture, you have to use the code JFerret suggests above.

What the code looks like

I still do not fully understand what you are trying to achieve could you elaborate or share a repro ?