|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Disable postprocess if we enable debug mode
|
|
|
|
if (m_CurrentDebugDisplaySettings.fullScreenDebugMode == FullScreenDebugMode.None && m_CurrentDebugDisplaySettings.IsDebugDisplayEnabled()) |
|
|
|
{ |
|
|
|
m_FrameSettings.enablePostprocess = false; |
|
|
|
} |
|
|
|
|
|
|
|
var postProcessLayer = camera.GetComponent<PostProcessLayer>(); |
|
|
|
var hdCamera = HDCamera.Get(camera, postProcessLayer, m_FrameSettings); |
|
|
|
|
|
|
|