Anyone have any idea what is the actual problem and how to go about solving this?
Screenshot attached below:

alt text

Place your cameras near place further away from the camera, and the far plane closer to it. This will increase the accuracy in which the depth rendering takes place.