From 5119eaf63e82898f2de996b7f0ccc8bf8dbc9589 Mon Sep 17 00:00:00 2001 From: doodlum <15017472+doodlum@users.noreply.github.com> Date: Wed, 24 Sep 2025 16:24:14 +0100 Subject: [PATCH 1/2] fix(upscaling): lazy mipbias fix --- src/State.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/State.cpp b/src/State.cpp index 4772bc14cd..fcc56938cc 100644 --- a/src/State.cpp +++ b/src/State.cpp @@ -707,7 +707,7 @@ void State::SetAdapterDescription(const std::wstring& description) adapterDescription = converter.to_bytes(description); } -void State::UpdateSharedData(bool a_inWorld, bool a_prepass) +void State::UpdateSharedData([[maybe_unused]] bool a_inWorld, [[maybe_unused]] bool a_prepass) { { SharedDataCB data{}; @@ -764,8 +764,8 @@ void State::UpdateSharedData(bool a_inWorld, bool a_prepass) if (upscaling.loaded) { auto upscaleMethod = upscaling.GetUpscaleMethod(); - if (temporal && (a_inWorld || a_prepass) && upscaleMethod != Upscaling::UpscaleMethod::kTAA) { - auto renderSize = Util::ConvertToDynamic(screenSize); + if (temporal && upscaleMethod != Upscaling::UpscaleMethod::kTAA) { + auto renderSize = Util::ConvertToDynamic(screenSize, true); data.MipBias = std::log2f(renderSize.x / screenSize.x); if (upscaleMethod == Upscaling::UpscaleMethod::kDLSS) data.MipBias -= 1.0f; From 682c8db5fca009d2c3a616bc9823fd3a8a4cc482 Mon Sep 17 00:00:00 2001 From: doodlum <15017472+doodlum@users.noreply.github.com> Date: Wed, 24 Sep 2025 16:40:54 +0100 Subject: [PATCH 2/2] chore: lower fsr sharpness idc --- src/Features/Upscaling/FidelityFX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Features/Upscaling/FidelityFX.cpp b/src/Features/Upscaling/FidelityFX.cpp index d7f57c1f82..45948c903d 100644 --- a/src/Features/Upscaling/FidelityFX.cpp +++ b/src/Features/Upscaling/FidelityFX.cpp @@ -302,7 +302,7 @@ void FidelityFX::Upscale(ID3D11Resource* a_upscalingTexture, ID3D11Resource* a_r dispatchParameters.cameraNear = *globals::game::cameraNear; dispatchParameters.enableSharpening = true; - dispatchParameters.sharpness = 0.5f; + dispatchParameters.sharpness = 0.0f; dispatchParameters.cameraFovAngleVertical = Util::GetVerticalFOVRad(); dispatchParameters.viewSpaceToMetersFactor = 0.01428222656f;