材质部分的代码如下
// 自定义材质const customMaterial = new Cesium.Material({translucent: true,fabric: {uniforms: {image:circle_img,speed:30.0,},source: `czm_material czm_getMaterial(czm_materialInput materialInput){czm_material material = czm_getDefaultMaterial(materialInput);vec2 st = materialInput.st;float rot = radians(czm_frameNumber * speed/1000. * 45.0);st-=.5;mat2 m = mat2(cos(rot), -sin(rot), sin(rot), cos(rot));st = m * st;st+=.5;material.diffuse = texture(image,st).rgb;return material;}`,},});