浏览代码

Fixed regression that was causing shadows to not render.

/2018.1
Felipe Lira 7 年前
当前提交
89d35dea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs

2
ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs


msaaSamples = (LightweightUtils.HasFlag(renderingConfig, FrameRenderingConfiguration.Msaa)) ? msaaSamples : 1;
m_CurrCameraColorRT = BuiltinRenderTextureType.CameraTarget;
if (LightweightUtils.HasFlag(renderingConfig, FrameRenderingConfiguration.IntermediateTexture))
if (LightweightUtils.HasFlag(renderingConfig, FrameRenderingConfiguration.IntermediateTexture) || m_RequireDepthTexture)
SetupIntermediateRenderTextures(cmd, renderingConfig, msaaSamples);
context.ExecuteCommandBuffer(cmd);

正在加载...
取消
保存