We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 006e3f2 commit 005ceeeCopy full SHA for 005ceee
editor/editor_node.cpp
@@ -510,6 +510,11 @@ void EditorNode::_update_from_settings() {
510
Viewport::MSAA msaa = Viewport::MSAA(int(GLOBAL_GET("rendering/anti_aliasing/quality/msaa_2d")));
511
scene_root->set_msaa_2d(msaa);
512
513
+ // 2D doesn't use a dedicated SubViewport like 3D does, so we apply it on the root viewport instead.
514
+ bool use_debanding = GLOBAL_GET("rendering/anti_aliasing/quality/use_debanding");
515
+ scene_root->set_use_debanding(use_debanding);
516
+ get_viewport()->set_use_debanding(use_debanding);
517
+
518
bool use_hdr_2d = GLOBAL_GET("rendering/viewport/hdr_2d");
519
scene_root->set_use_hdr_2d(use_hdr_2d);
520
get_viewport()->set_use_hdr_2d(use_hdr_2d);
0 commit comments