We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d2b40b + 1759a5d commit 2932b23Copy full SHA for 2932b23
src/cesiumjs/manager/AdvancedAnalysisManager.js
@@ -376,7 +376,7 @@ export default class AdvancedAnalysisManager {
376
createRain(options) {
377
const optionsParam = Cesium.defaultValue(options, {});
378
const collection = this.viewer.scene.postProcessStages;
379
- const rain = Cesium.PostProcessStageLibrary.createRainStage();
+ const rain = Cesium.PostProcessStageLibrary.createRainStage(optionsParam);
380
collection.add(rain);
381
this.scene.skyAtmosphere.hueShift = Cesium.defaultValue(optionsParam.hueShift, -0.8);
382
this.scene.skyAtmosphere.saturationShift = Cesium.defaultValue(optionsParam.saturationShift, -0.7);
0 commit comments