title: Depth Map three.js
body: <p>Is there any way to obtain a depth map in three.js? </p>
  
  <p>I am interested in producing something similar to what a Kinect would produce for a given scene. </p>
  
  <p>I have come across a hacky way of using no colors and fog to mimic this but it would not be ideal because it would use two different scenes and would be variant to lighting.  Another way to do this I believe would be to access the depth buffer but it appears this cannot be accessed through three.js.</p>