diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-03-30 18:29:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-30 18:29:32 +0200 |
| commit | 8f47ca8fe4c16d5190572389ec6041efeae46726 (patch) | |
| tree | 2dbd824cbba3819d8ec20cbdee20e5c1fbc41022 /editor/editor_node.cpp | |
| parent | b383484e445b1554c811556181a7815e0308fd62 (diff) | |
| parent | 89e126311709be9646b56b9166f793cd50f816d1 (diff) | |
| download | redot-engine-8f47ca8fe4c16d5190572389ec6041efeae46726.tar.gz | |
Merge pull request #37432 from reduz/glow-bicubic-upscale-global
Move glow upscale quality to a global setting, for consistency
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 2ba67ae879..37f78434df 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -365,6 +365,9 @@ void EditorNode::_notification(int p_what) { RS::get_singleton()->camera_effects_set_dof_blur_quality(dof_quality, dof_jitter); RS::get_singleton()->environment_set_ssao_quality(RS::EnvironmentSSAOQuality(int(GLOBAL_GET("rendering/quality/ssao/quality"))), GLOBAL_GET("rendering/quality/ssao/half_size")); RS::get_singleton()->screen_space_roughness_limiter_set_active(GLOBAL_GET("rendering/quality/filters/screen_space_roughness_limiter"), GLOBAL_GET("rendering/quality/filters/screen_space_roughness_limiter_curve")); + + bool glow_bicubic = int(GLOBAL_GET("rendering/quality/glow/upscale_mode")) > 0; + RS::get_singleton()->environment_glow_set_use_bicubic_upscale(glow_bicubic); } ResourceImporterTexture::get_singleton()->update_imports(); |
