summaryrefslogtreecommitdiffstats
path: root/servers/rendering_server.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-03-30 10:46:03 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-03-30 10:46:03 -0300
commit89e126311709be9646b56b9166f793cd50f816d1 (patch)
tree2dbd824cbba3819d8ec20cbdee20e5c1fbc41022 /servers/rendering_server.cpp
parentb383484e445b1554c811556181a7815e0308fd62 (diff)
downloadredot-engine-89e126311709be9646b56b9166f793cd50f816d1.tar.gz
Move glow upscale quality to a global setting, for consistency
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r--servers/rendering_server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp
index 084b8f7952..a960efb272 100644
--- a/servers/rendering_server.cpp
+++ b/servers/rendering_server.cpp
@@ -2355,6 +2355,10 @@ RenderingServer::RenderingServer() {
ProjectSettings::get_singleton()->set_custom_property_info("rendering/quality/filters/screen_space_roughness_limiter", PropertyInfo(Variant::INT, "rendering/quality/filters/screen_space_roughness_limiter", PROPERTY_HINT_ENUM, "Disabled,Enabled (Small Cost)"));
GLOBAL_DEF("rendering/quality/filters/screen_space_roughness_limiter_curve", 1.0);
ProjectSettings::get_singleton()->set_custom_property_info("rendering/quality/filters/screen_space_roughness_limiter_curve", PropertyInfo(Variant::FLOAT, "rendering/quality/filters/screen_space_roughness_limiter_curve", PROPERTY_HINT_EXP_EASING, "0.01,8,0.01"));
+
+ GLOBAL_DEF("rendering/quality/glow/upscale_mode", 1);
+ ProjectSettings::get_singleton()->set_custom_property_info("rendering/quality/glow/upscale_mode", PropertyInfo(Variant::INT, "rendering/quality/glow/upscale_mode", PROPERTY_HINT_ENUM, "Linear (Fast),Bicubic (Slower)"));
+ GLOBAL_DEF("rendering/quality/glow/upscale_mode.mobile", 0);
}
RenderingServer::~RenderingServer() {