Stenciled Shadow
This sample use the stencil buffer to draw a shadow. The stencil buffer content is then used to draw a darker texture where the shadow is casted.
You can grab the sources!
This sample use the stencil buffer to draw a shadow. The stencil buffer content is then used to draw a darker texture where the shadow is casted.
You can grab the sources!