distance of the ray between camera and surface