mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-22 05:05:56 +00:00
FSR 3.1 sharpens its own picture at a new setting, fsr_sharpness (default 80, 0 off, live, a slider under the upscaler on the menu), as the game's sharpening sits in the FXAA draw FSR replaces; while FSR 3.1 runs the game's dynamic resolution stays at 100 %, and in place it skips the game's FXAA and its copy of the scene onto itself. The fix follows codexx-dev's pull request #1245. Town still view, 1080p, mean absolute Laplacian of luma: quality 5.2 -> 7.9 against 9.4 with FSR off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: codexx-dev <221918751+codexx-dev@users.noreply.github.com>
This commit is contained in:
1 parent
14ccef9a80
commit
fef31d9f7c
9 files changed
+77
-12
No files matched your search
+4
-2
@@ -233,8 +233,10 @@ extern "C" int fsr3_dispatch(VkCommandBuffer cb, const Fsr3Frame *f) {
|
||||
dd.motionVectorScale = {1.0f, 1.0f}; // render pixels already
|
||||
dd.renderSize = {f->w, f->h};
|
||||
dd.upscaleSize = {f->ow, f->oh};
|
||||
dd.enableSharpening = false; // the present's RCAS (upscaler = fsr, sharpness) is the one sharpening pass
|
||||
dd.sharpness = 0.0f;
|
||||
// FSR's RCAS pass on its output (fsr_sharpness): the game's own sharpening is part of the scaling FXAA draw that
|
||||
// FSR replaces, and the present's RCAS (upscaler = fsr, sharpness) only runs where it scales to the window
|
||||
dd.enableSharpening = f->sharpness > 0.0f;
|
||||
dd.sharpness = f->sharpness > 1.0f ? 1.0f : f->sharpness;
|
||||
dd.frameTimeDelta = f->dt_ms;
|
||||
dd.preExposure = 1.0f;
|
||||
dd.reset = f->reset != 0;
|
||||
|
||||
Reference in new issue
Block a user