i want to use transparent planar shadows in my project, which means i have to use stencil buffer to avoid multy-layer shadow, but i cannot find a way to get or set stencil value, while custom stencil buffer does not work because, i think, the custom stencil buffer has been fully rendered before the planar shadow material begin to render.