Operating system or device - Godot version:
windows7 x64
https://bintray.com/calinou/godot/editor/2017-07-24.11c14b8
Issue description:
Look at the shadow, it looks like be cut at half.

Steps to reproduce:
Import the project provided below, and open Game.tscn.
Link to minimal example project:
WeirdShadow.zip
Bisection says 9483613, but I'm not really sure since this scene uses MeshInstance with plane mesh, which doesn't exist before that commit, so I tested with TestCube instead. The glitch isn't as bad as shown. So I'm not sure if the issue comes from that commit or before that.
it might be caused by the lack of contact shadows.
https://twitter.com/reduzio/status/829151000007151616
i have a similar looking scene that can be fixed with contact enabled, except for this #9740

It looks like shadow bias is set too high. If you use a directional light you can tune it down to reduce the gap drastically. Only then, see if you need contact shadows.
@Zylann thats true, but by default is set to 1, so maybe a better default would be 0.08, it makes shadows look way better.

I don't know what the best defaults are, any help regarding testing, checking the value other engines have as default, etc. would help
closed via a1d7c496b
Most helpful comment
@Zylann thats true, but by default is set to 1, so maybe a better default would be 0.08, it makes shadows look way better.