Very cool Sascha! I wasn't sure how to use the stencil buffer myself before, only the theory, so that code will be very helpful