ZBuffer completed, untested