cemu_graphic_packs/Resolutions/HyruleWarriors_Resolution/HW_Readme.md
getdls 717a144262 [HW] 2p res tweaks
2p res added and tweaked to scale to native res
2019-03-23 22:22:16 +01:00

1.3 KiB

Graphic options

3840x4320 vert x2 SSAA

Runs the game at double vertical res balancing look and performance when super sampling. Aspect is still 16:9 so run full screen scaling in stretched and bilinear when activating this option.

3840x2160 (4k - Native x3, 2p x2 res)

Runs 2p game at x2 resolution and match FOV for player 2. Ie restores it to native 4k as the game halves resolution when running 2p mode.

Nice to know when creating a custom resolution

To mitigate issues with resolutions that aren't an even factor of 720 some “sub” viewports scale evenly. XCX uses a similar approach to get smooth shadow transitions.

Example:

[Preset]
name = 3440x1440 (21:9)
$width = 3440
$height = 1440
$gameWidth= 1920
$gameHeight= 1080
$lightSource = 1.5
$scaleShader = (2560.0/3440.0)
$aspectRatio = (43.0/18.0)

Base resolution is 2560x1440 -> Uw patch res 3440

AO needs to be 2160 = 1440 * $lightSource = 1.5

We then need to scale back ultrawide to original aspect for all viewports using AO / light sources

2560 = 3440 *$scaleShader (2560.0/3440.0)

[TextureRedefine]
width = 1024
height = 544
formats = 0x001
overwriteWidth = ($width/$gameWidth) * (1024*$lightSource*$scaleShader)
overwriteHeight = ($height/$gameHeight) * (544*$lightSource)