Is it possible to render on pure white or capture a shadow on its own stencil layer?

Hey, did you come up with any solution?