Where to start: spawning and destroying "camera-windows" in VR

So, I figured out how to create a minimap, which is basically a “camera-window” as I understand it: https://www.instagram.com/p/COJy-r0lRWp/ (top right corner).

What I’d basically like to do now is have a player be able to spawn a plane, and then a camera’s view (somewhere) is being rendered onto that pane (and then disposed when the player doesn’t want it anymore).

Is this the example I should be looking at: https://playground.babylonjs.com/#L92PHY#36 . Something tells me this might not be right for VR?

Also, very new to this whole idea, so honestly, I don’t even know the terms I’m supposed to be using!

Adding @RaananW

1 Like

Your guess is right - VR doesn’t support viewports or multi-camera scenes. Not yet at least :slight_smile: .
Working on that, actually, but it will take a little while before it is released.

1 Like