nope

I know how to do alpha testing, my question is how do I add it to the stencil buffer.
I clip the objects that are entirly not visible through the portal, I wanna use this alpha testing + stencil buffer to draw objects are partialy or totaly visible through the portal.
(So that my portal woudln’t appear to be just a simple Triange or Quad, i want it to appear as a circle)