diff options
author | Juan Linietsky <reduzio@gmail.com> | 2020-04-12 15:33:57 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-04-12 15:33:57 -0300 |
commit | a57dc398dbe69d353da50e714bcc76e0ec78b578 (patch) | |
tree | 5dbb47b1a3875541880c120f846aba3ddb7e5495 /editor/plugins | |
parent | d160644c88278f55d0bf51560747d88aa0ef59e8 (diff) |
Implement MSAA
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 82353dbb93..5c38a57cca 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -2478,9 +2478,9 @@ void Node3DEditorViewport::_notification(int p_what) { //update msaa if changed - int msaa_mode = ProjectSettings::get_singleton()->get("rendering/quality/filters/msaa"); + int msaa_mode = ProjectSettings::get_singleton()->get("rendering/quality/screen_filters/msaa"); viewport->set_msaa(Viewport::MSAA(msaa_mode)); - int ssaa_mode = GLOBAL_GET("rendering/quality/filters/screen_space_aa"); + int ssaa_mode = GLOBAL_GET("rendering/quality/screen_filters/screen_space_aa"); viewport->set_screen_space_aa(Viewport::ScreenSpaceAA(ssaa_mode)); bool show_info = view_menu->get_popup()->is_item_checked(view_menu->get_popup()->get_item_index(VIEW_INFORMATION)); |