setting viewport
enabled z-buffer