+1 vote

My project has a very low resolution, however, I want to make some elements with higher resolution so that they don't look pixelated, like the GUI. How can I make this?

asked Mar 15 in Engine by Katie And (13 points)

1 Answer

0 votes

You can do this by creating a Viewport node with a smaller resolution (but stretched to cover the whole screen). This means you effectively have two viewports in your scene, since the root node is already a Viewport.

See the 3D viewport scaling demo for a working example (the same principle can apply to 2D as well).

answered Mar 17 by Calinou (6,336 points)

What I want is the opposite, a viewport with higher resolution than the rest of the game.

instead of changing zoom globally in the project settings make a couple parent viewports (and related cruft) and set the zoom individually on both (ViewportContainer has the setting) so each is at an appropriate level i think https://imgur.com/GCjKvt6

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.