|
|
@ -291,6 +291,11 @@ namespace UnityEngine.Rendering.PostProcessing |
|
|
m_opaqueOnly = null; |
|
|
m_opaqueOnly = null; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (m_CurrentContext.IsSuperResolutionActive()) |
|
|
|
|
|
{ |
|
|
|
|
|
RuntimeUtilities.EnableDynamicResolution = true; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (!finalBlitToCameraTarget && m_CurrentContext.IsSuperResolutionActive()) |
|
|
if (!finalBlitToCameraTarget && m_CurrentContext.IsSuperResolutionActive()) |
|
|
{ |
|
|
{ |
|
|
// Set the camera back to its original parameters, so we can output at full display resolution
|
|
|
// Set the camera back to its original parameters, so we can output at full display resolution
|
|
|
@ -1183,6 +1188,7 @@ namespace UnityEngine.Rendering.PostProcessing |
|
|
|
|
|
|
|
|
// Set the upscaler's output to full display resolution, as well as for all following post-processing effects
|
|
|
// Set the upscaler's output to full display resolution, as well as for all following post-processing effects
|
|
|
context.SetRenderSize(superResolution.displaySize); |
|
|
context.SetRenderSize(superResolution.displaySize); |
|
|
|
|
|
RuntimeUtilities.EnableDynamicResolution = false; |
|
|
|
|
|
|
|
|
var fsrTarget = m_TargetPool.Get(); |
|
|
var fsrTarget = m_TargetPool.Get(); |
|
|
var finalDestination = context.destination; |
|
|
var finalDestination = context.destination; |
|
|
|