I want to keep the aspect ratio of the game world (2d) for multiple reasons (most important one being related to where the player can and cannot go) but I also want to use the excess space (what whould be black bars if the project was configured to actually keep the aspect ratio) between the world and the window edge for ui rendering.
My current idea for this is rendering the world in a Viewport then using BoxContainers for automatic backgrounds and just rendering the UI above everything else here, repositioning and rotating it as convenient.
The problem with this approach is that the Viewport doesn't scale it's resolution, so it ends up being pixelated on higher window sizes... anyone has a better way to implement this or knows how to handle dynamically changing the Viewport resolution without zooming out the camera?