Browse Source

Enable HDR by default and clarified the tooltip somewhat

mac-autoexp
Nico de Poel 3 years ago
parent
commit
490a76986c
  1. 2
      Assets/Scenes/SampleScene.unity
  2. 2
      Assets/Scenes/SampleScenePPV2Post.unity
  3. 4
      Assets/Scripts/Fsr2ImageEffect.cs

2
Assets/Scenes/SampleScene.unity

@ -319,7 +319,7 @@ MonoBehaviour:
qualityMode: 2 qualityMode: 2
performSharpenPass: 1 performSharpenPass: 1
sharpness: 0.8 sharpness: 0.8
enableHDR: 0
enableHDR: 1
enableFP16: 0 enableFP16: 0
enableAutoExposure: 1 enableAutoExposure: 1
preExposure: 1 preExposure: 1

2
Assets/Scenes/SampleScenePPV2Post.unity

@ -322,7 +322,7 @@ MonoBehaviour:
qualityMode: 3 qualityMode: 3
performSharpenPass: 1 performSharpenPass: 1
sharpness: 0.8 sharpness: 0.8
enableHDR: 0
enableHDR: 1
enableFP16: 0 enableFP16: 0
enableAutoExposure: 1 enableAutoExposure: 1
preExposure: 1 preExposure: 1

4
Assets/Scripts/Fsr2ImageEffect.cs

@ -44,8 +44,8 @@ namespace FidelityFX
[Tooltip("Strength of the sharpening effect.")] [Tooltip("Strength of the sharpening effect.")]
[Range(0, 1)] public float sharpness = 0.8f; [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.")] [Tooltip("Allow the use of half precision compute operations, potentially improving performance if the platform supports it.")]
public bool enableFP16 = false; public bool enableFP16 = false;

Loading…
Cancel
Save