2.1.1 3D object: animate texture?

2.1.1 3D object: animate texture?
0
#1

Hi…,

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

Thanks

Mike

#2

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);
})
closed #3

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