Adding depth buffer