I would like to create "complex shaped" portals. I understand that I should use an image with alpha values which describes what parts of the image can be see through and use the stencil buffer to only draw the ones with the currect alpha value (1.f)
my question is - how do I do this in OpenGL?