浏览代码

Forgot to remove useless Depth Buffer copy

/stochastic_alpha_test
Julien Ignace 7 年前
当前提交
293ed886
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 7
      ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs

7
ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs


RenderLightingDebug(hdCamera, cmd, m_CameraColorBufferRT, m_CurrentDebugDisplaySettings);
// If full forward rendering, we did just rendered everything, so we can copy the depth buffer
// If Deferred nothing needs copying anymore.
if (m_Asset.renderingSettings.useForwardRenderingOnly)
{
CopyDepthBufferIfNeeded(cmd);
}
RenderSky(hdCamera, cmd);
// Render all type of transparent forward (unlit, lit, complex (hair...)) to keep the sorting between transparent objects.

正在加载...
取消
保存