"Blit 3D models as sprites in 2D"

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Aris Kallergis
:warning: Old Version Published before Godot 3 was released.

One of the features of Godot I saw was “Blit 3D models as sprites in 2D”.

Can someone explain what this means and its usefulness?
I couldn’t find something about it in the docs.

Thanks.

:bust_in_silhouette: Reply From: eska

Check out the official “3D in 2D” demo.
Essentially, you render a 3D scene to a texture, which you then display within a 2D scene.

Some short documentation is here: http://docs.godotengine.org/en/latest/tutorials/engine/viewports.html#render-target

:bust_in_silhouette: Reply From: avencherus

It allows you to set up a 3D scene, then take what appears in it’s camera and put it into a 2D sprite texture. A lot like if you had an actual camera monitoring a room and you are watching it on a television.

For one example, it can be used for things such as taking a 3D character and projecting them into a 2D game.

Do you know what kind of impact this has on performance, compared to rendering the sprites as planes/billboards directly into the 3d scene?

eligt | 2017-12-31 02:35