In addition to the Primary Spatial Upscale
, there is the Secondary Spatial Upscale
taking place after the TAAU
pass. This can be problematic for high DPI monitors where the GPU may not be able to keep up depending on scene complexity rendered at the higher resolution. For that purpose, the renderer supports using a secondary screen percentage that drive the second and final upscale pass. This pass is independent of the primary screen percentage.
Note that unlike the primary spatial upscale, the secondary spatial upscale is static and cannot be changed dynamically in-game.
You can set the secondary screen percentage by using the following console variable in your configuration (.ini) file:
If we know that the backbuffer resolution is 1080p, we can target a lower resolution of 900p by entering the percentage of that for the secondary screen percentage.
Target Resolution / Currently Set Resolution * 100 = Secondary Screen Percentage
900 / 1080 * 100 = 0.8333 * 100 = 83.33
For example, we use a value of 83.33 when targeting 60hz on Xbox One for Fortnite Battle Royale and set it by using the following:
Adding the secondary screen percentage to your config file will override the Editor and any platforms it is set for. Also keep in mind that using the console variable
r.SetRes controls the backbuffer resolution. It’s best to leave that at 1080p or 4k so that the UI always renders at native resolution for the target platform.