Hello everyone!
Is there a way to:
Update and render a single Viewport via GDScript?
Currently I'm struggling to make following scenario work:
I have a camera inside a viewport which should render into the viewport in N number of steps. In each step it should either change its transform or change its near / far properties. And in each step I want to change some materials in the world. Then for each step it should render into the viewport while keeping what has already been rendered into the viewport.
The final result of the viewport should be a world layered (by changed near / far clipping) and materials of the world.
Can someone help me understand how to have control over viewports? Currently it more feels like they do what they want to do without being able to force update single viewports.
Thank you! <3