diff options
author | Juan Linietsky <reduzio@gmail.com> | 2021-02-10 07:32:32 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 07:32:32 -0300 |
commit | bad2998fea7c5b13688a507de76f8925210a9bf0 (patch) | |
tree | 88faf3a2c750d4e8bb033078499991eff0ecfb09 /scene/resources/environment.h | |
parent | 844caafa4b29dda9fa7a0c66e52e4d4bc0114c1a (diff) | |
parent | 3e2281a3470dc83272643a316ba814e19bfef575 (diff) |
Merge pull request #45811 from reduz/sdfgi-improve-feedback
Improve SDFGI indirect light feedback loop
Diffstat (limited to 'scene/resources/environment.h')
-rw-r--r-- | scene/resources/environment.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/environment.h b/scene/resources/environment.h index 6eb0e0607e..62236d8362 100644 --- a/scene/resources/environment.h +++ b/scene/resources/environment.h @@ -156,7 +156,7 @@ private: float sdfgi_min_cell_size = 0.2; SDFGIYScale sdfgi_y_scale = SDFGI_Y_SCALE_DISABLED; bool sdfgi_use_occlusion = false; - bool sdfgi_use_multibounce = false; + float sdfgi_bounce_feedback = 0.0; bool sdfgi_read_sky_light = false; float sdfgi_energy = 1.0; float sdfgi_normal_bias = 1.1; @@ -318,8 +318,8 @@ public: SDFGIYScale get_sdfgi_y_scale() const; void set_sdfgi_use_occlusion(bool p_enabled); bool is_sdfgi_using_occlusion() const; - void set_sdfgi_use_multi_bounce(bool p_enabled); - bool is_sdfgi_using_multi_bounce() const; + void set_sdfgi_bounce_feedback(float p_amount); + float get_sdfgi_bounce_feedback() const; void set_sdfgi_read_sky_light(bool p_enabled); bool is_sdfgi_reading_sky_light() const; void set_sdfgi_energy(float p_energy); |