|
|
@ -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?
|
|
|
|