Browse Source

Removed the Native quality mode option again. It doesn't actually look that good, and I'd like to keep the 0 enum value reserved for "Off"

mac-autoexp
Nico de Poel 3 years ago
parent
commit
5a638974b6
  1. 2
      Assets/Scripts/Fsr2.cs
  2. 1
      Assets/Scripts/Fsr2Controller.cs

2
Assets/Scripts/Fsr2.cs

@ -47,7 +47,6 @@ namespace FidelityFX
return 2.0f; return 2.0f;
case QualityMode.UltraPerformance: case QualityMode.UltraPerformance:
return 3.0f; return 3.0f;
case QualityMode.Native:
default: default:
return 1.0f; return 1.0f;
} }
@ -103,7 +102,6 @@ namespace FidelityFX
public enum QualityMode public enum QualityMode
{ {
Native = 0,
Quality = 1, Quality = 1,
Balanced = 2, Balanced = 2,
Performance = 3, Performance = 3,

1
Assets/Scripts/Fsr2Controller.cs

@ -70,7 +70,6 @@ public class Fsr2Controller : MonoBehaviour
RenderPipelineManager.endContextRendering += OnEndContextRendering; RenderPipelineManager.endContextRendering += OnEndContextRendering;
// TODO: destroy and recreate context on screen resolution and/or quality mode change
_context = Fsr2.CreateContext(DisplaySize, RenderSize, Fsr2.InitializationFlags.EnableMotionVectorsJitterCancellation); _context = Fsr2.CreateContext(DisplaySize, RenderSize, Fsr2.InitializationFlags.EnableMotionVectorsJitterCancellation);
// TODO: do we need a depth buffer for the output? We will need depth & motion vectors for subsequent post-FX. How should FSR2 output these? // TODO: do we need a depth buffer for the output? We will need depth & motion vectors for subsequent post-FX. How should FSR2 output these?

Loading…
Cancel
Save