Tune FSR2 defaults and simplify jitter controls

This commit is contained in:
Kelsi 2026-03-08 21:08:17 -07:00
parent 2e71c768db
commit eccbfb6a5f
4 changed files with 4 additions and 25 deletions

View file

@ -429,7 +429,7 @@ private:
uint32_t frameIndex = 0;
bool needsHistoryReset = true;
bool useAmdBackend = false;
float jitterSign = -1.0f;
float jitterSign = 0.40f;
float motionVecScaleX = 1.0f;
float motionVecScaleY = 1.0f;
#if WOWEE_HAS_AMD_FSR2

View file

@ -120,7 +120,7 @@ private:
int pendingUpscalingMode = 0; // 0=Off, 1=FSR1, 2=FSR2
int pendingFSRQuality = 0; // 0=UltraQuality, 1=Quality, 2=Balanced, 3=Performance
float pendingFSRSharpness = 0.5f;
float pendingFSR2JitterSign = -1.0f;
float pendingFSR2JitterSign = 0.40f;
float pendingFSR2MotionVecScaleX = 1.0f;
float pendingFSR2MotionVecScaleY = 1.0f;
bool fsrSettingsApplied_ = false;

View file

@ -202,10 +202,7 @@ void PerformanceHUD::render(const Renderer* renderer, const Camera* camera) {
}
if (renderer->isFSR2Enabled()) {
ImGui::TextColored(ImVec4(0.4f, 0.9f, 1.0f, 1.0f), "FSR 2.2: ON");
ImGui::Text(" JitterSign=%.2f MVScale=(%.2f, %.2f)",
renderer->getFSR2JitterSign(),
renderer->getFSR2MotionVecScaleX(),
renderer->getFSR2MotionVecScaleY());
ImGui::Text(" JitterSign=%.2f", renderer->getFSR2JitterSign());
}
ImGui::Spacing();

View file

@ -6357,25 +6357,7 @@ void GameScreen::renderSettingsWindow() {
}
saveSettings();
}
if (ImGui::SliderFloat("MV Scale X", &pendingFSR2MotionVecScaleX, -2.0f, 2.0f, "%.2f")) {
if (renderer) {
renderer->setFSR2DebugTuning(
pendingFSR2JitterSign,
pendingFSR2MotionVecScaleX,
pendingFSR2MotionVecScaleY);
}
saveSettings();
}
if (ImGui::SliderFloat("MV Scale Y", &pendingFSR2MotionVecScaleY, -2.0f, 2.0f, "%.2f")) {
if (renderer) {
renderer->setFSR2DebugTuning(
pendingFSR2JitterSign,
pendingFSR2MotionVecScaleX,
pendingFSR2MotionVecScaleY);
}
saveSettings();
}
ImGui::TextDisabled("Tip: default is jitter=-1, mv=(1,1).");
ImGui::TextDisabled("Tip: 0.40 is the current recommended default.");
}
}
}