Skip to content

Commit

Permalink
Make radius behave like in previous mods
Browse files Browse the repository at this point in the history
  • Loading branch information
fholger committed Jan 3, 2022
1 parent a96065e commit a86f5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d11/d3d11_fsr_upscaler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace vrperfkit {
ID3D11ShaderResourceView *srvs[1] = {input.inputView};
UINT uavCount = -1;
ID3D11UnorderedAccessView *uavs[] = {upscaledUav.Get()};
float radius = g_config.upscaling.radius * outputViewport.height;
float radius = 0.5f * g_config.upscaling.radius * outputViewport.height;

if (input.inputViewport != outputViewport) {
// upscaling pass
Expand Down

0 comments on commit a86f5da

Please sign in to comment.