浏览代码

HDRenderPipeline: Move velocity pass to earlier in the frame

/namespace
sebastienlagarde 7 年前
当前提交
cb7ed0c9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs

4
ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs


RenderDepthPrepass(m_CullResults, hdCamera, renderContext, cmd);
RenderVelocity(m_CullResults, hdCamera, renderContext, cmd);
RenderGBuffer(m_CullResults, hdCamera, renderContext, cmd);
// In both forward and deferred, everything opaque should have been rendered at this point so we can safely copy the depth buffer for later processing.

}
else
{
RenderVelocity(m_CullResults, hdCamera, renderContext, cmd); // Note we may have to render velocity earlier if we do temporalAO, temporal volumetric etc... Mean we will not take into account forward opaque in case of deferred rendering ?
RenderGaussianPyramidColor(camera, cmd, renderContext, FullScreenDebugMode.FinalColorPyramid);
// TODO: Check with VFX team.

正在加载...
取消
保存