浏览代码

Merge pull request #974 from Unity-Technologies/fix-issue-with-decal

Fix issue with decal
/main
GitHub 7 年前
当前提交
eb480ec1
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 8
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightLoop/LightLoop.cs

8
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightLoop/LightLoop.cs


}
}
m_lightList.bounds.AddRange(DecalSystem.m_Bounds);
m_lightList.lightVolumes.AddRange(DecalSystem.m_LightVolumes);
m_lightCount = m_lightList.lights.Count + m_lightList.envLights.Count + DecalSystem.m_DecalDatasCount;
m_lightCount = m_lightList.lights.Count + m_lightList.envLights.Count;
m_lightList.bounds.AddRange(DecalSystem.m_Bounds);
m_lightList.lightVolumes.AddRange(DecalSystem.m_LightVolumes);
m_lightCount += DecalSystem.m_DecalDatasCount;
UpdateDataBuffers();

正在加载...
取消
保存