Render a scene in the background (3D)

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

Is there way to render a scene in the background (like clouds or planets)?
The concept is similar to RenderLayers but in 3D.
What I want to do:
I am making a space game and I want a dynamic background with planets and local stars, and I don’t want to scale everything up too much so It doesn’t clip (and I don’t want to set camera’s ‘far’ to something crazy).

Given that this is like the first thing that google returns for this question, did you find a solution?

GonziHere | 2020-05-08 15:39

:bust_in_silhouette: Reply From: GonziHere

This video mentions a way: https://www.youtube.com/watch?v=qDDyt8gdGGI
However, he basically creates two scenes, with two cameras and combines them afterward.
I’m not sure about Godot pipeline, but in UE, this kind of thing would increase lag by 1 frame plus it increases the render cost significantly (it also wouldn’t have occlusion culling). I’d be somewhat vary of using this particular method without checking it more.