浏览代码

Reduce the minimal supported variance to 0.05

/main
Evgenii Golubev 8 年前
当前提交
d892fdad
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 12
      Assets/ScriptableRenderLoop/HDRenderPipeline/SceneSettings/CommonSettings.cs

12
Assets/ScriptableRenderLoop/HDRenderPipeline/SceneSettings/CommonSettings.cs


m_ShadowCascadeSplit1 = Mathf.Clamp01(m_ShadowCascadeSplit1);
m_ShadowCascadeSplit2 = Mathf.Clamp01(m_ShadowCascadeSplit2);
m_SssProfileFilter1Variance.r = Mathf.Max(0.1f, m_SssProfileFilter1Variance.r);
m_SssProfileFilter1Variance.g = Mathf.Max(0.1f, m_SssProfileFilter1Variance.g);
m_SssProfileFilter1Variance.b = Mathf.Max(0.1f, m_SssProfileFilter1Variance.b);
m_SssProfileFilter1Variance.r = Mathf.Max(0.05f, m_SssProfileFilter1Variance.r);
m_SssProfileFilter1Variance.g = Mathf.Max(0.05f, m_SssProfileFilter1Variance.g);
m_SssProfileFilter1Variance.b = Mathf.Max(0.05f, m_SssProfileFilter1Variance.b);
m_SssProfileFilter2Variance.r = Mathf.Max(0.1f, m_SssProfileFilter2Variance.r);
m_SssProfileFilter2Variance.g = Mathf.Max(0.1f, m_SssProfileFilter2Variance.g);
m_SssProfileFilter2Variance.b = Mathf.Max(0.1f, m_SssProfileFilter2Variance.b);
m_SssProfileFilter2Variance.r = Mathf.Max(0.05f, m_SssProfileFilter2Variance.r);
m_SssProfileFilter2Variance.g = Mathf.Max(0.05f, m_SssProfileFilter2Variance.g);
m_SssProfileFilter2Variance.b = Mathf.Max(0.05f, m_SssProfileFilter2Variance.b);
m_SssProfileFilter2Variance.a = 0.0f;
m_SssProfileFilterLerpWeight = Mathf.Clamp01(m_SssProfileFilterLerpWeight);
m_SssBilateralScale = Mathf.Clamp01(m_SssBilateralScale);

正在加载...
取消
保存