Add z-buffer and depth test.