Skip to content

Commit a1f6068

Browse files
committed
Fix the GPU type of line lights
1 parent 4713eb7 commit a1f6068

File tree

1 file changed

+1
-1
lines changed
  • Assets/ScriptableRenderLoop/HDRenderLoop/Lighting/TilePass

1 file changed

+1
-1
lines changed

Assets/ScriptableRenderLoop/HDRenderLoop/Lighting/TilePass/TilePass.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ public override void PrepareLightsForGPU(CullResults cullResults, Camera camera,
898898
if (areaLightCount >= k_MaxAreaLightsOnSCreen)
899899
continue;
900900
lightCategory = LightCategory.Area;
901-
gpuLightType = GPULightType.Rectangle;
901+
gpuLightType = GPULightType.Line;
902902
lightVolumeType = LightVolumeType.Box;
903903
++areaLightCount;
904904
break;

0 commit comments

Comments
 (0)