summaryrefslogtreecommitdiffstats
path: root/scene/resources/environment.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-01-09 21:40:26 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:14:21 +0100
commitb859e699190e45cbf1fda5c32838f1d59c9b1d8e (patch)
tree59ea5e02cfdd2f361c10dad2831f384695e49de7 /scene/resources/environment.h
parentde0d834a4de842f732a1dd2effa7b1324e87cbd0 (diff)
downloadredot-engine-b859e699190e45cbf1fda5c32838f1d59c9b1d8e.tar.gz
-Refactored post processing, re-added glow and added a mix blend mode.
Diffstat (limited to 'scene/resources/environment.h')
-rw-r--r--scene/resources/environment.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/resources/environment.h b/scene/resources/environment.h
index 69f18c3424..7926d5d284 100644
--- a/scene/resources/environment.h
+++ b/scene/resources/environment.h
@@ -77,6 +77,7 @@ public:
GLOW_BLEND_MODE_SCREEN,
GLOW_BLEND_MODE_SOFTLIGHT,
GLOW_BLEND_MODE_REPLACE,
+ GLOW_BLEND_MODE_MIX,
};
enum DOFBlurQuality {
@@ -154,6 +155,7 @@ private:
int glow_levels;
float glow_intensity;
float glow_strength;
+ float glow_mix;
float glow_bloom;
GlowBlendMode glow_blend_mode;
float glow_hdr_bleed_threshold;
@@ -333,6 +335,9 @@ public:
void set_glow_strength(float p_strength);
float get_glow_strength() const;
+ void set_glow_mix(float p_mix);
+ float get_glow_mix() const;
+
void set_glow_bloom(float p_threshold);
float get_glow_bloom() const;