@@ -20,14 +20,11 @@ Nowadays, this is no longer the case, as there are plenty of different screen
20
20
sizes, densities, and aspect ratios. Non-conventional sizes are also becoming
21
21
increasingly popular, such as ultrawide displays.
22
22
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.
31
28
32
29
Since layouts, aspect ratios, resolutions, and pixel densities can change so
33
30
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,
122
119
code and guessing, so Godot provides a set of parameters in the
123
120
project settings to handle multiple resolutions.
124
121
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
+
125
130
Stretch settings
126
131
----------------
127
132
@@ -373,6 +378,9 @@ Desktop game
373
378
- Set the stretch aspect to ``expand ``. This allows for supporting multiple aspect ratios
374
379
and makes better use of tall smartphone displays (such as 18:9 or 19:9 aspect ratios).
375
380
- 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.
376
384
377
385
**Pixel art: **
378
386
0 commit comments