Browse Source

Added some seemingly sensible ranges to the reactive mask parameters.

I really wish this stuff was a bit better explained and documented.
mac-autoexp
Nico de Poel 3 years ago
parent
commit
69da937fd7
  1. 6
      Assets/Scripts/Fsr2Controller.cs

6
Assets/Scripts/Fsr2Controller.cs

@ -259,9 +259,9 @@ namespace FidelityFX
[System.Serializable]
public class GenerateReactiveParameters
{
public float scale = 1.0f;
public float cutoffThreshold = 0.2f;
public float binaryValue = 0.9f;
[Range(0, 2)] public float scale = 1.0f;
[Range(0, 1)] public float cutoffThreshold = 0.2f;
[Range(0, 1)] public float binaryValue = 0.9f;
public Fsr2.GenerateReactiveFlags flags = Fsr2.GenerateReactiveFlags.ApplyTonemap | Fsr2.GenerateReactiveFlags.ApplyThreshold | Fsr2.GenerateReactiveFlags.UseComponentsMax;
}
}

Loading…
Cancel
Save