diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-09-13 17:34:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 17:34:04 +0200 |
commit | 8ecc571158aa1725cda03e357386daa0bc1de6d3 (patch) | |
tree | b7f2f02c30bbf8d6fb0f9645fc95eeb7984057fe /scene/main/scene_tree.cpp | |
parent | 4059cf2f02f7c8d9c79ca66a477b34e0e0cc6b62 (diff) | |
parent | 7192852da35e6d980a37953f9fa8c836568450ef (diff) | |
download | redot-engine-8ecc571158aa1725cda03e357386daa0bc1de6d3.tar.gz |
Merge pull request #49063 from Calinou/remove-16x-msaa
Remove 16× MSAA support due to driver bugs and low performance
Diffstat (limited to 'scene/main/scene_tree.cpp')
-rw-r--r-- | scene/main/scene_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index bef7ecb462..8452f1cb1a 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -1337,7 +1337,7 @@ SceneTree::SceneTree() { current_scene = nullptr; const int msaa_mode = GLOBAL_DEF("rendering/anti_aliasing/quality/msaa", 0); - ProjectSettings::get_singleton()->set_custom_property_info("rendering/anti_aliasing/quality/msaa", PropertyInfo(Variant::INT, "rendering/anti_aliasing/quality/msaa", PROPERTY_HINT_ENUM, String::utf8("Disabled (Fastest),2× (Fast),4× (Average),8× (Slow),16× (Slower)"))); + ProjectSettings::get_singleton()->set_custom_property_info("rendering/anti_aliasing/quality/msaa", PropertyInfo(Variant::INT, "rendering/anti_aliasing/quality/msaa", PROPERTY_HINT_ENUM, String::utf8("Disabled (Fastest),2× (Average),4× (Slow),8× (Slowest)"))); root->set_msaa(Viewport::MSAA(msaa_mode)); const int ssaa_mode = GLOBAL_DEF("rendering/anti_aliasing/quality/screen_space_aa", 0); |