mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Add live FSR2 motion/jitter tuning controls and HUD readout
This commit is contained in:
parent
38c55e4f37
commit
2e71c768db
5 changed files with 65 additions and 6 deletions
|
|
@ -200,6 +200,13 @@ void PerformanceHUD::render(const Renderer* renderer, const Camera* camera) {
|
|||
ImGui::Text(" %ux%u -> %ux%u (%.0f%%)", iw, ih, ext.width, ext.height, sf * 100.0f);
|
||||
}
|
||||
}
|
||||
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::Spacing();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue