I'm learning lighting, and am trying to render some scene with depth map. Now, i know i could avoid this problem using ray tracing, but i want to use depth map shadows. The problem is, as you can see in the picture,

at the wall, right down at bottom, there seem to be problem with shadows. Wall is dark (because od shadows) almost right to the bottom, but then right at the bottom, where it meets the sand, there is small line that is much brighter then the rest of the wall. It should be dark as the rest of the wall, but it isn't. IF i render it with mental ray, it's ok.
I was told that this is because of the depth map, but can't find the solution. Anybody got any ideas?