I am a beginner and spent a lot of time but I got it at last.
You understand the idea of Stencil buffers.
Now the question, how do you design the stencil pattern?
It is done as follows:
You tell...