+3 votes

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?

in Engine by (15 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).

by (11,917 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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.