summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-08-18 21:58:55 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-08-18 21:58:55 +0200
commit693b933b7f361eb1d93ae096f5b1deec07bc154b (patch)
tree66f519b1645b3bd973d369c7cf6a059959f3eab3
parent9bb6cc591c598f41ad718760e17f6c8847797ed0 (diff)
Decrease editor shadow maximum distance to match DirectionalLight3D default
This improves shadow texel density, leading to improved visual quality (and higher performance in large scenes, as fewer objects will be included in the shadow map).
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp
index 6afc6798d0..c87e8d5adf 100644
--- a/editor/plugins/node_3d_editor_plugin.cpp
+++ b/editor/plugins/node_3d_editor_plugin.cpp
@@ -7607,7 +7607,7 @@ void Node3DEditor::_load_default_preview_settings() {
environ_tonemap_button->set_pressed(true);
environ_ao_button->set_pressed(false);
environ_gi_button->set_pressed(false);
- sun_max_distance->set_value(250);
+ sun_max_distance->set_value(100);
sun_color->set_pick_color(Color(1, 1, 1));
sun_energy->set_value(1.0);