浏览代码

HDRenderLoop: Really fix the previous Max area light limit - dumb commit

/main
sebastienlagarde 8 年前
当前提交
c6feca5b
共有 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_MaxAreaLightsOnSCreen)
if (lightList.directionalLights.Count >= k_MaxDirectionalLightsOnSCreen)
continue;
var directionalLightData = new DirectionalLightData();

正在加载...
取消
保存