浏览代码

in LW the color target should be created in SRGB

/main
Tim Cooper 7 年前
当前提交
012562ae
共有 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;

正在加载...
取消
保存