aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/environment.h
diff options
context:
space:
mode:
authorJuan Linietsky2016-11-29 19:55:12 -0300
committerJuan Linietsky2016-11-29 19:55:12 -0300
commita47c78aed113a9b4c009c5a2ef29c690192c7eef (patch)
tree93bed03fdf277a59a6cb10cc2ca9ef6a0f17ace6 /scene/resources/environment.h
parent3f40701002254aeb20e20acbad0cd28a9b7476e3 (diff)
downloadgodot-a47c78aed113a9b4c009c5a2ef29c690192c7eef.tar.gz
godot-a47c78aed113a9b4c009c5a2ef29c690192c7eef.tar.zst
godot-a47c78aed113a9b4c009c5a2ef29c690192c7eef.zip
Diffstat (limited to 'scene/resources/environment.h')
-rw-r--r--scene/resources/environment.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/scene/resources/environment.h b/scene/resources/environment.h
index ca55b51b2..f4610ada4 100644
--- a/scene/resources/environment.h
+++ b/scene/resources/environment.h
@@ -94,6 +94,14 @@ private:
float adjustment_brightness;
Ref<Texture> adjustment_color_correction;
+ bool ssr_enabled;
+ int ssr_max_steps;
+ float ssr_accel;
+ float ssr_fade;
+ float ssr_depth_tolerance;
+ bool ssr_smooth;
+ bool ssr_roughness;
+
protected:
static void _bind_methods();
@@ -162,6 +170,27 @@ public:
void set_adjustment_color_correction(const Ref<Texture>& p_ramp);
Ref<Texture> get_adjustment_color_correction() const;
+ void set_ssr_enabled(bool p_enable);
+ bool is_ssr_enabled() const;
+
+ void set_ssr_max_steps(int p_steps);
+ int get_ssr_max_steps() const;
+
+ void set_ssr_accel(float p_accel);
+ float get_ssr_accel() const;
+
+ void set_ssr_fade(float p_fade);
+ float get_ssr_fade() const;
+
+ void set_ssr_depth_tolerance(float p_depth_tolerance);
+ float get_ssr_depth_tolerance() const;
+
+ void set_ssr_smooth(bool p_enable);
+ bool is_ssr_smooth() const;
+
+ void set_ssr_rough(bool p_enable);
+ bool is_ssr_rough() const;
+
virtual RID get_rid() const;