浏览代码

HDRenderLoop: Fix bug regarding Max area light limit

/main
sebastienlagarde 8 年前
当前提交
47e9e8a7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs

2
Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs


if (light.lightType == LightType.Directional)
{
if (lightList.areaLights.Count >= k_MaxDirectionalLightsOnSCreen)
if (lightList.areaLights.Count >= k_MaxAreaLightsOnSCreen)
continue;
var directionalLightData = new DirectionalLightData();

正在加载...
取消
保存