Way to show Viewport on Plane

Is there a way to show a viewport on a plane? The idea is to replace the text in the following example with a viewport. The x, y coordinates of the viewport are defined based on the coordinates on the plane, such as the x and y distances to the top left corner of the plane. The viewport will show information from 2nd camera. The intent is to attach the viewport as part of a mesh, which can be scaled and panned through the main camera. Any thoughts on this and is there a way to achieve this? Thanks!


Hey @jhuang, the first thought that comes to mind is to check out using render target textures. Take a look at this and see if this might help: Render Target Texture With Multiple Passes | Babylon.js Documentation (babylonjs.com)

Thanks for the quick response! @PolygonalSun. I need explore more on this; but it seems Render Target Texture works for my case.