可视域分析添加地形支持

This commit is contained in:
主管经理李宝库 2025-06-22 15:06:26 +08:00
parent f1a89fed4d
commit 9260dbdad3

View File

@ -244,9 +244,11 @@ class viewshed extends analyser {
size: this.size,
softShadows: this.softShadows,
normalOffset: false,
fromLightSource: false
fromLightSource: false,
});
this.viewer.scene.shadowMap = this.shadowMap;
// 启用地形阴影
this.viewer.scene.globe.shadows = Cesium.ShadowMode.ENABLED;
}
//创建PostStage