Hi…,
how to animate textures of 3D models (e.g. change uvs) ?
Thanks
Mike
Hi…,
how to animate textures of 3D models (e.g. change uvs) ?
Thanks
Mike
I helped myself by setting different materials with meshRenderer.setMaterial():
properties: { meshRenderer: cc.MeshRenderer },
cc.loader.loadRes( 'materials/dynamic-load-material', cc.Material,
(err, material) => { this.meshRenderer.setMaterial(0, material);
})
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.