Skip to content

Commit 2cb99ff

Browse files
committed
fix "mysterious" shadow bug case
fix "mysterious" shadow bug case
1 parent 2bdf0c3 commit 2cb99ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/ScriptableRenderLoop/RenderPasses/ShadowRenderPass.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ void RenderPackedShadows(RenderLoop loop, CullResults cullResults, ref ShadowOut
326326
if (!cullResults.GetShadowCasterBounds(lightIndex, out bounds))
327327
{
328328
Profiler.EndSample();
329-
return;
329+
continue;
330330
}
331331
Profiler.EndSample();
332332

0 commit comments

Comments
 (0)