title: Getting the true z value from the depth buffer
body: <p>Sampling from a depth buffer in a shader returns values between 0 and 1, as expected.
  Given the near- and far- clip planes of the camera, how do I calculate the true z value at this point, i.e. the distance from the camera?</p>