浏览代码

Disable allowMSAA on camera to remove warning in inspector

/main
sebastienlagarde 6 年前
当前提交
e99f8257
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      com.unity.render-pipelines.high-definition/HDRP/Camera/HDAdditionalCameraData.cs

1
com.unity.render-pipelines.high-definition/HDRP/Camera/HDAdditionalCameraData.cs


if (m_camera == null)
return;
m_camera.allowMSAA = false; // We don't use this option in HD (it is legacy MSAA) and it produce a warning in the inspector UI if we let it
m_camera.allowHDR = false;
// Tag as dirty so frameSettings are correctly initialize at next HDRenderPipeline.Render() call

正在加载...
取消
保存