summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2019-10-14 03:45:44 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:03:55 +0100
commit2c67cc654f2a5080c16d6317f71dbb00e894aabd (patch)
treea740a0fe89a1770ebb60696e5b9991e30839546e /servers/visual/rasterizer.h
parent76c6f39d99b82a07bc4f88ec4b6fb13b532be725 (diff)
AO support for GIProbe (right on time for Godot Sprint!)
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r--servers/visual/rasterizer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h
index 51acd3a797..f35b68db47 100644
--- a/servers/visual/rasterizer.h
+++ b/servers/visual/rasterizer.h
@@ -508,6 +508,12 @@ public:
virtual void gi_probe_set_energy(RID p_gi_probe, float p_energy) = 0;
virtual float gi_probe_get_energy(RID p_gi_probe) const = 0;
+ virtual void gi_probe_set_ao(RID p_gi_probe, float p_ao) = 0;
+ virtual float gi_probe_get_ao(RID p_gi_probe) const = 0;
+
+ virtual void gi_probe_set_ao_strength(RID p_gi_probe, float p_strength) = 0;
+ virtual float gi_probe_get_ao_strength(RID p_gi_probe) const = 0;
+
virtual void gi_probe_set_bias(RID p_gi_probe, float p_bias) = 0;
virtual float gi_probe_get_bias(RID p_gi_probe) const = 0;