浏览代码

Fixed Y-flip in LW when a camera is rendering to a RT

/tag-1.1.4-preview
Felipe Lira 7 年前
当前提交
6f3789f6
共有 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)
{

正在加载...
取消
保存