浏览代码

Merge pull request #1167 from Unity-Technologies/backport/Fixed-Y-flip

Fixed Y-flip in LW when a camera is rendering to a RT
/tag-1.1.4-preview
GitHub 7 年前
当前提交
8ef0a868
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs

2
ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs


m_PostProcessRenderContext.sourceFormat = m_ColorFormat;
m_PostProcessRenderContext.destination = dest;
m_PostProcessRenderContext.command = cmd;
m_PostProcessRenderContext.flip = true;
m_PostProcessRenderContext.flip = m_CurrCamera.targetTexture == null;
if (opaqueOnly)
{

正在加载...
取消
保存