From 490a76986c7da6ad5569151b239f33714c628ad2 Mon Sep 17 00:00:00 2001 From: Nico de Poel Date: Thu, 6 Apr 2023 14:40:23 +0200 Subject: [PATCH] Enable HDR by default and clarified the tooltip somewhat --- Assets/Scenes/SampleScene.unity | 2 +- Assets/Scenes/SampleScenePPV2Post.unity | 2 +- Assets/Scripts/Fsr2ImageEffect.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 459ac4a..43adc99 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -319,7 +319,7 @@ MonoBehaviour: qualityMode: 2 performSharpenPass: 1 sharpness: 0.8 - enableHDR: 0 + enableHDR: 1 enableFP16: 0 enableAutoExposure: 1 preExposure: 1 diff --git a/Assets/Scenes/SampleScenePPV2Post.unity b/Assets/Scenes/SampleScenePPV2Post.unity index 20ab8d8..bd4e890 100644 --- a/Assets/Scenes/SampleScenePPV2Post.unity +++ b/Assets/Scenes/SampleScenePPV2Post.unity @@ -322,7 +322,7 @@ MonoBehaviour: qualityMode: 3 performSharpenPass: 1 sharpness: 0.8 - enableHDR: 0 + enableHDR: 1 enableFP16: 0 enableAutoExposure: 1 preExposure: 1 diff --git a/Assets/Scripts/Fsr2ImageEffect.cs b/Assets/Scripts/Fsr2ImageEffect.cs index 927e139..760007d 100644 --- a/Assets/Scripts/Fsr2ImageEffect.cs +++ b/Assets/Scripts/Fsr2ImageEffect.cs @@ -44,8 +44,8 @@ namespace FidelityFX [Tooltip("Strength of the sharpening effect.")] [Range(0, 1)] public float sharpness = 0.8f; - [Tooltip("Enable this if you're passing a pre-tonemapping HDR image to the upscaler.")] - public bool enableHDR = false; + [Tooltip("Make use of high-dynamic range render texture formats and tonemapping adjustment during upscaling.")] + public bool enableHDR = true; [Tooltip("Allow the use of half precision compute operations, potentially improving performance if the platform supports it.")] public bool enableFP16 = false;