浏览代码

- Reset sky manager hash when changing parameters.

- Properties info in SkyParameters are now protected in order to be able to override the hash method properly.
/main
Julien Ignace 8 年前
当前提交
2f800ad3
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1
      Assets/ScriptableRenderLoop/HDRenderLoop/Sky/SkyManager.cs
  2. 2
      Assets/ScriptableRenderLoop/HDRenderLoop/Sky/SkyParameters.cs

1
Assets/ScriptableRenderLoop/HDRenderLoop/Sky/SkyManager.cs


{
if (value == null || IsSkyParameterValid(value))
{
m_SkyParametersHash = 0;
m_SkyParameters = value;
}
else

2
Assets/ScriptableRenderLoop/HDRenderLoop/Sky/SkyParameters.cs


public float multiplier = 1.0f;
public SkyResolution resolution = SkyResolution.SkyResolution256;
private FieldInfo[] m_Properties;
protected FieldInfo[] m_Properties;
protected void OnEnable()
{

正在加载...
取消
保存