Merge pull request #70202 from Calinou/viewport-transparent-background-rename-project-setting
Move transparent background project setting to a subsection
This commit is contained in:
commit
a1f481a7d6
3 changed files with 5 additions and 5 deletions
|
|
@ -1422,7 +1422,7 @@ SceneTree::SceneTree() {
|
|||
ProjectSettings::get_singleton()->set_custom_property_info("rendering/anti_aliasing/quality/msaa_3d", PropertyInfo(Variant::INT, "rendering/anti_aliasing/quality/msaa_3d", PROPERTY_HINT_ENUM, String::utf8("Disabled (Fastest),2× (Average),4× (Slow),8× (Slowest)")));
|
||||
root->set_msaa_3d(Viewport::MSAA(msaa_mode_3d));
|
||||
|
||||
const bool transparent_background = GLOBAL_DEF("rendering/transparent_background", false);
|
||||
const bool transparent_background = GLOBAL_DEF("rendering/viewport/transparent_background", false);
|
||||
root->set_transparent_background(transparent_background);
|
||||
|
||||
const int ssaa_mode = GLOBAL_DEF_BASIC("rendering/anti_aliasing/quality/screen_space_aa", 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue