mirror of
https://github.com/jiawanlong/Cesium-Examples.git
synced 2025-07-04 06:57:32 +00:00
commit
06d6fb3721
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user