Picture-in-Picture in a 3D space using WebGL

Hey! I was wondering if I could use PIP (Picture-in-Picture) effects through WebGL (three.js) in a wedding video as we see on some Adobe After Effects and Pinnacle Hollywood FX based edits. Here’s a link below. Hope you’ll have some idea what I’m saying. Actually, we need a skeleton WebGL template with the capabilities of adding at least two videos from two different video tracks which will be readily set to use, mapped onto the custom 3D models (objects like a mirror, sea-snail, box, window or similar) so we can modify the template according to our needs. If it’s possible, this would save me a whole lot from jumping into different programs, along with the possibilities of using the same preset on a Linux machine. Please cast some light on this unexplored feasibility.

https://youtu.be/Wh_5WsLEPLs