• 3D
  • Viewport container Vs Viewport Texture

Hello. I want to know if there are any disadvantages of using a texture_rect node with a Viewport Texture to display a Viewport as opposed to using Viewport containers? I'm asking because I want to use the filter flag in Viewport Texture to smoothen the game a bit when resolution is reduced.

I think the Viewport container internally uses a ViewportTexture, so using a viewport texture directly should work. I haven’t really used ViewportContainers myself, so I cannot do a direct comparison, but I have used ViewportTextures without issues.

One minor downside of using a ViewportTexture is the image may be flipped, but you can set a property in the Viewport to correct this.