浏览代码

HDRenderLoop: Fix issue with debug parameters and forwardonly mode

/main
Sebastien Lagarde 8 年前
当前提交
a54e4275
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs

3
Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs


RenderOpaqueRenderList(cull, camera, renderLoop, "DebugViewMaterial");
}
// Render GBUffer opaque
// Render GBuffer opaque
if (!debugParameters.useForwardRenderingOnly)
{
Vector4 screenSize = ComputeScreenSize(camera);
m_DebugViewMaterialGBuffer.SetVector("_ScreenSize", screenSize);

正在加载...
取消
保存