ModelInstance instance;
Texture texture = new Texture(Gdx.files.internal("abc.jpg"));
Material material = new Material();
material.set(TextureAttribute.createDiffuse(texture));
Material mat = instance.materials.get(0);//获取预定义的Material
mat.clear();
mat.set(material);//设置新的Material