Terrible shadows on the procedural map(Godot v4.4 .NET)

Godot Version

v4.4.stable.mono.official [4c311cbee]

Question

I need help with shadows. I’ve just started making a game with procedural map generation and am having some issues with shadows. The problem is that they look terrible. This screenshot shows the current state:


Here’s the best result I’ve achieved after spending several hours:
.
Could you please explain what I should do to improve them?