Merge pull request #6 from jiawanlong/dev-zooeed

可视域分析添加地形支持
This commit is contained in:
jiawanlong 2025-06-23 09:26:56 +08:00 committed by GitHub
commit 06d6fb3721
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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