Is there an easy way to draw to just update the stencil buffer, but not actually draw the object?
I was thinking I could make a blend state that allows transparency and pass the object through a pixel shader that returns pixels with alphas of 0, but I was wondering if there was a better/more efficient approach.
For reference, I'm trying to make a silhouette effect where i'll draw the shaded smaller area first, and then the larger visible area after and using the stencil buffer to clip out all of the pixels inside the silhouette.
Thanks