Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Features/Upscaling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ void Upscaling::DataLoaded()
{
// Fix screenshots fix from Engine Fixes
RE::GetINISetting("bUseTAA:Display")->data.b = false;

// The game defaults this to a non-zero value
static auto fDRClampOffset = RE::GetINISetting("fDRClampOffset:Display");
fDRClampOffset->data.f = 0.0f;
}

void Upscaling::Load()
Expand Down Expand Up @@ -719,10 +723,6 @@ void Upscaling::ConfigureUpscaling(RE::BSGraphics::State* a_viewport)
// Delete or create resources as necessary
CheckResources(upscaleMethod);

// The game defaults this to a non-zero value
auto fDRClampOffset = RE::GetINISetting("fDRClampOffset:Display");
fDRClampOffset->data.f = 0.0f;

// Cache original TAA values for UI
projectionPosScaleX = a_viewport->projectionPosScaleX;
projectionPosScaleY = a_viewport->projectionPosScaleY;
Expand Down