So to my Stencil-Problem. I recognized that i have to clear the stencil buffer after every light of course. But this means i have to use one render-pass instance for every light. Isnt that to expensive?
This is why people don’t use stencil shadows. Well, this is part of why they don’t. As annoying as depth shadows may be to implement, they’re easier to work with overall.