Render to texture part of the main scene

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

Hi,
How can i render part of the map to the texture? From what I understood I add viewport and specify the nodes to render by setting the world_2d to the existing one. The thing is I’m setting the root.world_2d to just use all nodes in the scene. But it seems to not work. Is this a bug or I just cant use in other viewport the root’s node world_2d.

Thanks

What do you mean - render to texture? Do you want to take snapshot of the part of your screen and use it as a texture for some node or do you want to have sub viewport which will dynamically show part of your screen?
You can’t assign world of parent viewport to child viewport world because child is part of parent world.

Calamander | 2018-11-23 17:56