Cesium去掉黑色星空背景并透明的方法 发表于 2020-09-28 | 评论数: | 阅读次数: 为了使Cesium与整个网页的背景融合,需要去掉Cesium的黑色星空背景,具体方法如下: 12345678910viewer.scene.skyBox.destroy();viewer.scene.skyBox = undefined;viewer.scene.sun.destroy();viewer.scene.sun = undefined;viewer.scene.moon.destroy();viewer.scene.moon = undefined;viewer.scene.skyAtmosphere.destroy();viewer.scene.skyAtmosphere = undefined;viewer.scene.backgroundColor = new Cesium.Color(0, 0, 0, 0); 参考链接 Scene Background Transparent,by cesium dev.