billboard 加disableDepthTestDistance后图标变黑
viewer.entities.add({
//id:object[i].id,
name:object[i].name,
position : Cesium.Cartesian3.fromDegrees(object[i].x,object[i].y,object[i].z),
billboard : {
image :object[i].img,
horizontalOrigin : Cesium.HorizontalOrigin.CENTER,
verticalOrigin : Cesium.VerticalOrigin.BOTTOM,
//sizeInMeters : true,
width : 110,
height : 120,
disableDepthTestDistance: Number.POSITIVE_INFINITY
}
});
加disableDepthTestDistance:
原本: