开启深度测试

webgl就帮你判断显示在前面的物体而不显示被挡住的部分,

只需要一句话

viewer.scene.globe.depthTestAgainstTerrain = true;

我们来交流CZM吧 Q群511163089