#Trying to get 2 windows (System Windows) where changing the primary window updates the secondary.

1 messages · Page 1 of 1 (latest)

pale gorge
#

Something like this?

#

Try a scene structure like this:

pale gorge
#

The texture should be updated on its own, you should be able to use just the very same setup, just with 2D nodes instead of 3D ones

pale gorge
#

One for each window

#

the outer one is for the main window

#

the contents of the SubViewport aren't rendered otherwise (although there might be a property to allow that, didn't check).

pale gorge
#

hm? Those can be two independent Viewports, but they can both use the same ViewportTexture (probably should, assuming the same resolution is fine).

pale gorge
#

No code needed. They should update/redraw on their own.

TextureRect shows the ViewportTexture, ViewportTexture displays a certain SubViewport, SubViewport utilizes its own active camera to look into its child scene.

#

and correct, you'll have two separate TextureRects either showing each their own ViewportTexture or the same.