浏览代码

Merge remote-tracking branch 'refs/remotes/origin/master' into Cleanup-of-inspectorUI-code

/Branch_Batching2
sebastienlagarde 8 年前
当前提交
9fd4a2ac
共有 2 个文件被更改,包括 4 次插入5 次删除
  1. 3
      Assets/ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs
  2. 6
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Sky/SkyManager.cs

3
Assets/ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs


if(m_LightLoop != null)
m_LightLoop.Build(owner.textureSettings);
m_SkyManager.Build();
m_SkyManager.skyParameters = owner.skyParametersToUse;
}

GraphicsSettings.lightsUseLinearIntensity = true;
GraphicsSettings.lightsUseColorTemperature = true;
m_SkyManager.Build();
if (!m_LitRenderLoop.isInit)
m_LitRenderLoop.RenderInit(renderContext);

6
Assets/ScriptableRenderPipeline/HDRenderPipeline/Sky/SkyManager.cs


m_UpdateRequired = true;
if (value != null)
{
m_Renderer.Build();
}
}
get { return m_SkyParameters; }
}

public void Build()
{
if (m_Renderer != null)
m_Renderer.Build();
// Create unititialized. Lazy initialization is performed later.
m_iblFilterGgx = new IBLFilterGGX();

正在加载...
取消
保存