Pixel Border around a PiP scene?

Is there an easy way to put a border around a PiP scene? I noticed when I turned on the “show/hide mesh” (“turn on/off the camera’s gizmo”) button in the inspector for the PiP scene camera, the PiP scene takes on a 1px border, which looks pretty good, if not totally stable.

I’m not familiar with the picture and picture. Is that a GUI rectangle with a texture on it? If it’s using Babylon’s GUI system then you can just use

myPipRect.thickness = 1;

And use .color to change the color

hrm it’s just a second scene, i’m not sure how to use GUI maybe that would do it. I could fake it with a div i guess, maybe it’s unreasonable

Can you share a repro so we can help you address it

1 Like