Preliminary portal support using stencil buffers.