浏览代码

Fixed update of sky renderer when changing the type in the CommonSettings.

/main
Julien Ignace 8 年前
当前提交
e4a32a00
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      Assets/ScriptableRenderLoop/HDRenderLoop/SceneSettings/CommonSettings.cs

2
Assets/ScriptableRenderLoop/HDRenderLoop/SceneSettings/CommonSettings.cs


m_ShadowCascadeSplit0 = Mathf.Min(1.0f, Mathf.Max(0.0f, m_ShadowCascadeSplit0));
m_ShadowCascadeSplit1 = Mathf.Min(1.0f, Mathf.Max(0.0f, m_ShadowCascadeSplit1));
m_ShadowCascadeSplit2 = Mathf.Min(1.0f, Mathf.Max(0.0f, m_ShadowCascadeSplit2));
OnSkyRendererChanged();
}
void OnSkyRendererChanged()

正在加载...
取消
保存