Skip to content

Commit a86f5da

Browse files
committed
Make radius behave like in previous mods
1 parent a96065e commit a86f5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/d3d11/d3d11_fsr_upscaler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace vrperfkit {
5050
ID3D11ShaderResourceView *srvs[1] = {input.inputView};
5151
UINT uavCount = -1;
5252
ID3D11UnorderedAccessView *uavs[] = {upscaledUav.Get()};
53-
float radius = g_config.upscaling.radius * outputViewport.height;
53+
float radius = 0.5f * g_config.upscaling.radius * outputViewport.height;
5454

5555
if (input.inputViewport != outputViewport) {
5656
// upscaling pass

0 commit comments

Comments
 (0)