How to render 3D viewport into sprite ?

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

That’s my setup, using my viewport as a texture in my Sprite node but I get a flood full of errors
edit nevermind, error is still there of course but my plan was stupid anyway (wanted tilemap with 3D characters)… I will pre-render them, I will have hundredths of sprites but that’s how it is.
enter image description here

Are you sure you set up your ViewportTexture correctly? The path to the viewport in your texture seem wrong (there is no ViewportContainer in your scene).
The errors are here because while you’re setting up the texture, the texture is not setup yet and godot complains about it.

Lola | 2021-08-16 10:54

I got the same errors with a viewportContainer. I don’t know if I set it up correctly. I read the doc but everything seemed fine.

Wurzelpilz | 2021-08-16 13:01