浏览代码

Merge pull request #868 from Unity-Technologies/lw-srgb-ldr_fix

In LW the color target should be created in SRGB
/main
GitHub 7 年前
当前提交
65fe370a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs

1
ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs


}
RenderTextureDescriptor colorRTDesc = new RenderTextureDescriptor(rtWidth, rtHeight, m_ColorFormat, kDepthStencilBufferBits);
colorRTDesc.sRGB = true;
colorRTDesc.msaaSamples = msaaSamples;
colorRTDesc.enableRandomWrite = false;

正在加载...
取消
保存