In three.js I want to create a portal effect - where looking through the portal would mask some objects and not others. For example, you look through the portal and you could see a different world.
I'm new to three.js, and i've experimented with alphaMap and clippingPlanes but i think my approach is incorrect.
This example below shows what i have on the left with the desired effect on the right.
This is a good example - https://www.magicleap.com/
Thank you for your direction