2.1.1 3D object: animate texture?

Hi…,

how to animate textures of 3D models (e.g. change uvs) ?

Thanks

Mike

1 Like

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);
})
1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.