I Blit then these values from renderTexture to texture2D and use function GetPixel(i,j). Knowing, that a cube is at 1.5 units distance from camera I can't get this value from depth texture. Thank you for your help.
Now I suspect that I have got distance values, but they are biased by 0.5 for some reason... Can anyone explain this as well?