normal z-buffer

logarithmic z-buffer

reverse z-buffer

three.js - reverse depth buffer
Note: For best results, a floating-point depth buffer should be used with post-processing. See Visualizing Depth Precision.