mirror of
https://github.com/jiawanlong/Cesium-Examples.git
synced 2025-07-04 15:17:36 +00:00
commit
06d6fb3721
@ -244,9 +244,11 @@ class viewshed extends analyser {
|
|||||||
size: this.size,
|
size: this.size,
|
||||||
softShadows: this.softShadows,
|
softShadows: this.softShadows,
|
||||||
normalOffset: false,
|
normalOffset: false,
|
||||||
fromLightSource: false
|
fromLightSource: false,
|
||||||
});
|
});
|
||||||
this.viewer.scene.shadowMap = this.shadowMap;
|
this.viewer.scene.shadowMap = this.shadowMap;
|
||||||
|
// 启用地形阴影
|
||||||
|
this.viewer.scene.globe.shadows = Cesium.ShadowMode.ENABLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
//创建PostStage
|
//创建PostStage
|
||||||
|
Loading…
Reference in New Issue
Block a user