summaryrefslogtreecommitdiff
path: root/servers/visual/visual_server_raster.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-01-25 07:18:55 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:15:46 +0100
commitbed8980ca50cb6a197f37e3decaff963d5cedce1 (patch)
treeebbc9630b6b6bca7d12efb2d8b777b9928ba2be5 /servers/visual/visual_server_raster.h
parentee1e89f8c0dc4659a2ed4b5afd5e7c1c596f7af1 (diff)
Re-implemented screen space ambient occlusion
Diffstat (limited to 'servers/visual/visual_server_raster.h')
-rw-r--r--servers/visual/visual_server_raster.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/servers/visual/visual_server_raster.h b/servers/visual/visual_server_raster.h
index 51ce440320..bcb327a600 100644
--- a/servers/visual/visual_server_raster.h
+++ b/servers/visual/visual_server_raster.h
@@ -518,14 +518,15 @@ public:
BIND2(environment_set_bg_color, RID, const Color &)
BIND2(environment_set_bg_energy, RID, float)
BIND2(environment_set_canvas_max_layer, RID, int)
- BIND6(environment_set_ambient_light, RID, const Color &, EnvironmentAmbientSource, float, float, EnvironmentReflectionSource)
+ BIND7(environment_set_ambient_light, RID, const Color &, EnvironmentAmbientSource, float, float, EnvironmentReflectionSource, const Color &)
// FIXME: Disabled during Vulkan refactoring, should be ported.
#if 0
BIND2(environment_set_camera_feed_id, RID, int)
#endif
BIND7(environment_set_ssr, RID, bool, int, float, float, float, bool)
- BIND13(environment_set_ssao, RID, bool, float, float, float, float, float, float, float, const Color &, EnvironmentSSAOQuality, EnvironmentSSAOBlur, float)
+ BIND9(environment_set_ssao, RID, bool, float, float, float, float, float, EnvironmentSSAOBlur, float)
+ BIND2(environment_set_ssao_quality, EnvironmentSSAOQuality, bool)
BIND12(environment_set_glow, RID, bool, int, float, float, float, float, EnvironmentGlowBlendMode, float, float, float, bool)