浏览代码

Merge pull request #332 from Unity-Technologies/Branch_SkyRenderTextureHash

Added code to update Sky render texture hash so that GI bakes correctly. Code is commented until new API reaches graphics/srp
/RenderPassXR_Sandbox
GitHub 8 年前
当前提交
50746c8e
共有 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
}
}
}

正在加载...
取消
保存