commit dd0a4635827e9d6a19e44ec93da6e6f46377d5c8
parent 59d62d6e48b5e8c21e9f9949e698b1c01f024125
Author: FIGBERT <figbert@figbert.com>
Date: Sat, 28 Nov 2020 23:10:28 -0800
Reduce shadow quality to increase performance
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Level.tscn b/Level.tscn
@@ -649,7 +649,10 @@ script = ExtResource( 3 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.866025, -0.433013, -0.25, 0, -0.5, 0.866025, -0.5, -0.75, -0.433013, 0, 6.37746, 0 )
shadow_enabled = true
-directional_shadow_max_distance = 50.0
+shadow_bias = 0.5
+directional_shadow_mode = 0
+directional_shadow_depth_range = 1
+directional_shadow_max_distance = 30.0
[node name="Walls" type="GridMap" parent="."]
mesh_library = ExtResource( 6 )