threejs-stencil-buffer-example threejs-stencil-buffer-example Try the Stackblitz Use npm install and then npm run start.