浏览代码

HDRenderPipeline: Fix typo in code to update sky when not rendering a cubemap

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

2
ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs


// Don't update the sky environment if we are rendering a cubemap (it should be update already)
if (camera.cameraType == CameraType.Reflection)
if (camera.cameraType != CameraType.Reflection)
{
// Caution: We require sun light here as some sky use the sun light to render, mean UpdateSkyEnvironment
// must be call after BuildGPULightLists.

正在加载...
取消
保存