浏览代码

Fix sRGB forced into preview camera render

/main
Antoine Lelievre 6 年前
当前提交
ebc99757
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 2
      com.unity.render-pipelines.core/CoreRP/Editor/CameraEditorUtils.cs

2
com.unity.render-pipelines.core/CoreRP/Editor/CameraEditorUtils.cs


return;
}
GL.sRGBWrite = QualitySettings.activeColorSpace == ColorSpace.Linear;
GL.sRGBWrite = false;
Graphics.DrawTexture(cameraRect, previewCamera.targetTexture, new Rect(0, 0, 1, 1), 0, 0, 0, 0, GUI.color, GUITextureBlit2SRGBMaterial);
}
}

正在加载...
取消
保存