Skip to content

Commit 20f400c

Browse files
HDRenderLoop: Really fix the previous Max area light limit - dumb commit
1 parent 0b68186 commit 20f400c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ void ConvertLightForGPU(CullResults cullResults, ref ShadowOutput shadowOutput,
728728

729729
if (light.lightType == LightType.Directional)
730730
{
731-
if (lightList.areaLights.Count >= k_MaxAreaLightsOnSCreen)
731+
if (lightList.directionalLights.Count >= k_MaxDirectionalLightsOnSCreen)
732732
continue;
733733

734734
var directionalLightData = new DirectionalLightData();

0 commit comments

Comments
 (0)