浏览代码

indent correctly

/main
GitHub 7 年前
当前提交
84669008
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 7
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Camera/HDAdditionalCameraData.cs

7
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Camera/HDAdditionalCameraData.cs


void UnRegisterDebug()
{
if (m_camera == null) return;
if (m_camera == null)
return;
if (m_IsDebugRegistered)
{

// When LDR, unity render in 8bitSRGB, then do a final shader with sRGB conversion
// What should be done is just in our Post process we convert to sRGB and store in a linear 10bit, but require C++ change...
m_camera = GetComponent<Camera>();
if (m_camera == null) return;
if (m_camera == null)
return;
m_camera.allowHDR = false;
// Tag as dirty so frameSettings are correctly initialize at next HDRenderPipeline.Render() call

正在加载...
取消
保存