浏览代码

Merge pull request #786 from Unity-Technologies/Branch_FixSkyMissingClear

Fixed a missing Render Target clear in the sky system that caused NaN…
/main
GitHub 7 年前
当前提交
3f31b4d7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/SkyRenderingContext.cs

1
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/SkyRenderingContext.cs


{
if (skyContext.skyParametersHash != 0)
{
CoreUtils.ClearCubemap(cmd, m_SkyboxCubemapRT, Color.black, true);
if (m_SupportsConvolution)
{
CoreUtils.ClearCubemap(cmd, m_SkyboxGGXCubemapRT, Color.black, true);

正在加载...
取消
保存