Mixed GUI question

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Panagiotis Halatsako


how is it possible to mix godot ui canvas with a 3d project?

For starters I am trying to do something similar to eye of the beholder, one portion of the screen to be the 3d area and the rest would be a 2D GUI mask. Is it possible?

:bust_in_silhouette: Reply From: omggomb

Yes this is possible.

Have a look at the demo project here.

The Idea is to start out with your 2d scene, then add a Viewport and add your 3d nodes under that viewport. If you want to load an entire 3d scene you’ll need to instance that scene manually under the added viewport (as opposed to using the SceneTree’s change_scene, but that’s no biggie :slight_smile: