浏览代码

Now binding the copied depth texture to `_CameraDepthTexture` after the copy.

/main
Aleksandr Kirillov 7 年前
当前提交
38b5c51b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs

2
ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs


CopyTexture(cmd, m_DepthRT, m_CopyDepth, m_CopyDepthMaterial, forceBlit);
depthRT = m_CopyDepth;
setRenderTarget = true;
cmd.SetGlobalTexture(CameraRenderTargetID.depthCopy, m_CopyDepth);
cmd.SetGlobalTexture(CameraRenderTargetID.depth, m_CopyDepth);
}
if (setRenderTarget)

正在加载...
取消
保存