summaryrefslogtreecommitdiffstats
path: root/scene/resources/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/environment.h')
-rw-r--r--scene/resources/environment.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/scene/resources/environment.h b/scene/resources/environment.h
index 1676a28b39..8c4475c9aa 100644
--- a/scene/resources/environment.h
+++ b/scene/resources/environment.h
@@ -198,6 +198,8 @@ private:
float volumetric_fog_detail_spread = 2.0;
VolumetricFogShadowFilter volumetric_fog_shadow_filter = VOLUMETRIC_FOG_SHADOW_FILTER_LOW;
float volumetric_fog_gi_inject = 0.0;
+ bool volumetric_fog_temporal_reproject = false;
+ float volumetric_fog_temporal_reproject_amount = 0.95;
void _update_volumetric_fog();
// Adjustment
@@ -389,6 +391,10 @@ public:
VolumetricFogShadowFilter get_volumetric_fog_shadow_filter() const;
void set_volumetric_fog_gi_inject(float p_gi_inject);
float get_volumetric_fog_gi_inject() const;
+ void set_volumetric_fog_temporal_reprojection_enabled(bool p_enable);
+ bool is_volumetric_fog_temporal_reprojection_enabled() const;
+ void set_volumetric_fog_temporal_reprojection_amount(float p_amount);
+ float get_volumetric_fog_temporal_reprojection_amount() const;
// Adjustment
void set_adjustment_enabled(bool p_enabled);