summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-18 09:35:45 +0200
committerGitHub <noreply@github.com>2019-07-18 09:35:45 +0200
commit708092f0373019256845f486435f92a99437843f (patch)
tree9d6575be1670c25fbbe4318d8209b80987028dc6
parent950153757bddd65371d41eb44f9c91a4ead08b7e (diff)
parentce8a54b634318c09f78275ffd65217769ffdf5aa (diff)
Merge pull request #30656 from Calinou/lower-directional-shadow-max-distance
Lower the default directional shadow maximum distance to 100
-rw-r--r--scene/3d/light.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/light.cpp b/scene/3d/light.cpp
index 4ef945ab8d..91595657b1 100644
--- a/scene/3d/light.cpp
+++ b/scene/3d/light.cpp
@@ -413,7 +413,7 @@ DirectionalLight::DirectionalLight() :
set_param(PARAM_SHADOW_NORMAL_BIAS, 0.8);
set_param(PARAM_SHADOW_BIAS, 0.1);
- set_param(PARAM_SHADOW_MAX_DISTANCE, 200);
+ set_param(PARAM_SHADOW_MAX_DISTANCE, 100);
set_param(PARAM_SHADOW_BIAS_SPLIT_SCALE, 0.25);
set_shadow_mode(SHADOW_PARALLEL_4_SPLITS);
set_shadow_depth_range(SHADOW_DEPTH_RANGE_STABLE);