浏览代码

Added code to update Sky render texture hash so that GI bakes correctly. Code is commented until new API reaches graphics/srp

/RenderPassXR_Sandbox
Julien Ignace 7 年前
当前提交
07ccac0b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Sky/SkyManager.cs

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


m_UpdatedFramesRequired--;
m_SkyParametersHash = skySettings.GetHash();
m_CurrentUpdateTime = 0.0f;
//#if UNITY_EDITOR
// m_SkyboxCubemapRT.imageContentsHash = new Hash128((uint)skySettings.GetHash(), 0, 0, 0);
//#endif
}
}
}

正在加载...
取消
保存