Re-added depth shading.

Implements #19.
Merge pull request #29 from madmaxoft/master

Re-added depth shading.