summaryrefslogtreecommitdiff
path: root/scene/main
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 /scene/main
parentee1e89f8c0dc4659a2ed4b5afd5e7c1c596f7af1 (diff)
Re-implemented screen space ambient occlusion
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/viewport.cpp1
-rw-r--r--scene/main/viewport.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index 9e9b77bab4..dad2ec4010 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -3269,6 +3269,7 @@ void Viewport::_bind_methods() {
BIND_ENUM_CONSTANT(DEBUG_DRAW_SHADOW_ATLAS);
BIND_ENUM_CONSTANT(DEBUG_DRAW_DIRECTIONAL_SHADOW_ATLAS);
BIND_ENUM_CONSTANT(DEBUG_DRAW_SCENE_LUMINANCE);
+ BIND_ENUM_CONSTANT(DEBUG_DRAW_SSAO);
BIND_ENUM_CONSTANT(MSAA_DISABLED);
BIND_ENUM_CONSTANT(MSAA_2X);
diff --git a/scene/main/viewport.h b/scene/main/viewport.h
index 53a024f555..6e77467f23 100644
--- a/scene/main/viewport.h
+++ b/scene/main/viewport.h
@@ -137,6 +137,7 @@ public:
DEBUG_DRAW_SHADOW_ATLAS,
DEBUG_DRAW_DIRECTIONAL_SHADOW_ATLAS,
DEBUG_DRAW_SCENE_LUMINANCE,
+ DEBUG_DRAW_SSAO,
};