Hey all,
I have done some reading on stencil shadows, and was wondering if i had this right…
- draw scene normally
- render back faces from lights pov and decrement stencil buffer when depth test fails
- render front faces from lights pov and increment stencil buffer when depth test fails
is this right?