Display part of level in a texture elsewhere in 2D

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

Hi,

I am trying to create a game with mirrors mechanics. To do that, I simply want to display in a TextureRect the view of a camera placed elsewhere in a 2D level.

In a more simple way, how can I display part of a scene elsewhere on the (same or not) scene?

Thanks

:bust_in_silhouette: Reply From: Schweini

Look into that: https://docs.godotengine.org/en/stable/tutorials/viewports/index.html

Thanks for the answer, but I forgot to mention that I want to do that in a 2D scene. Does it still works the same?

Codelta | 2020-04-01 17:41

Pretty sure that’s a yes

Schweini | 2020-04-02 08:45