use a depth+stencil buffer