z-buffer test added