I am working on a space prototype which involves large world rendering. I have taken inspiration from Kerbal Space Program in that the world is split into multiple scenes of varying scales (in my case, a background scene, miniature scene & a real scale scene). All scenes are rendered to separate viewports and ordered back-to-front so as to display in the correct order onto the screen.
(image link in case it doesn't load here)
While this method works mostly as intended, I do believe the main viewport of the engine is still rendering in the background.
Is there a way to disable rendering of the main viewport in gdscript?
If not, is there currently a way to access the depth of a viewport in gdscript (I haven't found anything documented anywhere for this) so as to allow for some custom compositig (e.g. via a shader) directly onto the main viewport?
Thanks in advance!