mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Tune FSR2 defaults and simplify jitter controls
This commit is contained in:
parent
2e71c768db
commit
eccbfb6a5f
4 changed files with 4 additions and 25 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue