summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2020-08-31 23:04:45 -0700
committerclayjohn <claynjohn@gmail.com>2020-08-31 23:16:41 -0700
commit8da3c739bff12a2c16ec2f7ff07336bd5d1c9035 (patch)
treeda68fd89b3e2c472c31f2bf07d79008a6e5d1734 /editor
parent2cfc5b8680bf7c1f75b02f83f7ecc26d1e49021f (diff)
Add high quality glow mode
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 26281a232b..16b8c6e0ac 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -478,6 +478,8 @@ void EditorNode::_notification(int p_what) {
RS::get_singleton()->screen_space_roughness_limiter_set_active(GLOBAL_GET("rendering/quality/screen_filters/screen_space_roughness_limiter_enabled"), GLOBAL_GET("rendering/quality/screen_filters/screen_space_roughness_limiter_amount"), GLOBAL_GET("rendering/quality/screen_filters/screen_space_roughness_limiter_limit"));
bool glow_bicubic = int(GLOBAL_GET("rendering/quality/glow/upscale_mode")) > 0;
RS::get_singleton()->environment_glow_set_use_bicubic_upscale(glow_bicubic);
+ bool glow_high_quality = GLOBAL_GET("rendering/quality/glow/use_high_quality");
+ RS::get_singleton()->environment_glow_set_use_high_quality(glow_high_quality);
RS::EnvironmentSSRRoughnessQuality ssr_roughness_quality = RS::EnvironmentSSRRoughnessQuality(int(GLOBAL_GET("rendering/quality/screen_space_reflection/roughness_quality")));
RS::get_singleton()->environment_set_ssr_roughness_quality(ssr_roughness_quality);
RS::SubSurfaceScatteringQuality sss_quality = RS::SubSurfaceScatteringQuality(int(GLOBAL_GET("rendering/quality/subsurface_scattering/subsurface_scattering_quality")));