Skip to content

Commit 67743e9

Browse files
authored
Merge pull request #10955 from Calinou/multiple-resolutions-resolution-scaling
Link to Resolution scaling documentation in Multiple resolutions
2 parents c548149 + b38edbf commit 67743e9

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

tutorials/rendering/multiple_resolutions.rst

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,11 @@ Nowadays, this is no longer the case, as there are plenty of different screen
2020
sizes, densities, and aspect ratios. Non-conventional sizes are also becoming
2121
increasingly popular, such as ultrawide displays.
2222

23-
For 3D games, there is not much of a need to support multiple resolutions (from
24-
the aesthetic point of view). The 3D geometry will just fill the screen based on
25-
the field of view, disregarding the aspect ratio. The main reason one may want
26-
to support this, in this case, is for *performance* reasons (running in lower
27-
resolution to increase frames per second).
28-
29-
For 2D and game UIs, this is a different matter, as art needs to be created
30-
using specific pixel sizes in software such as Photoshop, GIMP or Krita.
23+
For 3D rendering, there is not much of a need to support multiple resolutions.
24+
Thanks to its vector-based nature, 3D geometry will just fill the screen based
25+
on the viewport size. For 2D and game UIs, this is a different matter,
26+
as art needs to be created using specific pixel sizes in software such
27+
as Photoshop, GIMP or Krita.
3128

3229
Since layouts, aspect ratios, resolutions, and pixel densities can change so
3330
much, it is no longer possible to design UIs for every specific screen.
@@ -122,6 +119,14 @@ most flexible way to deal with the problem, it can be a lot of work,
122119
code and guessing, so Godot provides a set of parameters in the
123120
project settings to handle multiple resolutions.
124121

122+
.. tip::
123+
124+
To render 3D at a lower resolution than 2D elements (without needing
125+
separate viewports), you can use Godot's
126+
:ref:`resolution scaling <doc_resolution_scaling>` support. This is a good way
127+
to improve performance significantly in GPU-bottlenecked scenarios.
128+
This works with any stretch mode and stretch aspect combination.
129+
125130
Stretch settings
126131
----------------
127132

@@ -373,6 +378,9 @@ Desktop game
373378
- Set the stretch aspect to ``expand``. This allows for supporting multiple aspect ratios
374379
and makes better use of tall smartphone displays (such as 18:9 or 19:9 aspect ratios).
375380
- Configure Control nodes' anchors to snap to the correct corners using the **Layout** menu.
381+
- For 3D games, consider exposing :ref:`doc_resolution_scaling` in the game's options menu
382+
to allow players to adjust the 3D rendering resolution separately from UI elements.
383+
This is useful for performance tuning, especially on lower-end hardware.
376384

377385
**Pixel art:**
378386

0 commit comments

Comments
 (0)