You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-03 16:55:53 +00:00
Merge pull request #70228 from Calinou/add-transparent-viewport-project-setting-3.x
Add a project setting to make the root viewport transparent (3.x)
This commit is contained in:
@@ -2256,6 +2256,9 @@ SceneTree::SceneTree() {
|
||||
const bool use_fxaa = GLOBAL_DEF("rendering/quality/filters/use_fxaa", false);
|
||||
root->set_use_fxaa(use_fxaa);
|
||||
|
||||
const bool transparent_background = GLOBAL_DEF("rendering/viewport/transparent_background", false);
|
||||
root->set_transparent_background(transparent_background);
|
||||
|
||||
const bool use_debanding = GLOBAL_DEF("rendering/quality/filters/use_debanding", false);
|
||||
root->set_use_debanding(use_debanding);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user