diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-07-17 19:44:00 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-07-17 20:01:40 +0200 |
commit | ce8a54b634318c09f78275ffd65217769ffdf5aa (patch) | |
tree | 9f138ba436cf56ab1852d78579853f71387dd86c /editor/scene_tree_dock.cpp | |
parent | d087a9e3283528792634de84b55a607d9b9b5137 (diff) |
Lower the default directional shadow maximum distance to 100
With the default camera node settings, this makes directional shadows
look consistent between the editor and the running project.
The original issue occurs because the editor camera defaults to a
Z-far value of 500, whereas the Camera node defaults to a Z-far
value of 100. Since the directional shadow maximum distance is clamped
to the Z-far value, it caused the running project's effective shadow
distance to be lower compared to the editor (100 instead of 200).
This partially addresses #13575.
Diffstat (limited to 'editor/scene_tree_dock.cpp')
0 files changed, 0 insertions, 0 deletions