0 votes

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 world2d to the existing one. The thing is I'm setting the root.world2d 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

asked Nov 22, 2018 in Engine by szamq (12 points)

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.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.