add stencil buffer