I add the primitive on the scene with materialApperance, the map appear a crack when zoom in , Is there any solution to solve this?
var material = new Cesium.Material({
fabric: {
type: ‘Image’,
uniforms: {
image: imageUrl,
alpha: 0.6
},
components: {
diffuse: ‘texture2D(image, materialInput.st).rgb’,
alpha: ‘texture2D(image, materialInput.st).a * alpha’
}
}
});
var geoInstatnce = new Cesium.GeometryInstance({
geometry: new Cesium.RectangleGeometry({
rectangle: Cesium.Rectangle.fromDegrees(lonmin, latmin, lonmax, latmax),
height: 0
})
});
var primitive = new Cesium.Primitive({
geometryInstances: geoInstatnce,
appearance: new Cesium.MaterialAppearance({
material: material,
faceForward: true,
translucent: true,
flat: true
})
});
scene.primitives.add(primitive);