Update shader

This commit is contained in:
2024-07-19 00:32:14 +02:00
parent 9518ce1d0a
commit fe33f09f1d
2 changed files with 2 additions and 3 deletions
Binary file not shown.
-1
View File
@@ -856,7 +856,6 @@ void ShadowsPass::SetupLight(ShadowsCustomBuffer& shadows, RenderContext& render
}
// Init shadow data
atlasLight.ContextIndex = renderContextBatch.Contexts.Count();
if (atlasLight.ContextCount == 0)
return;
renderContextBatch.Contexts.AddDefault(atlasLight.ContextCount);