Skip to content

Commit 46c13e9

Browse files
committed
API change: ComputeSpotShadowsMatricesAndCullingPrimitives -> ComputeSpotShadowMatricesAndCullingPrimitives
1 parent a923b18 commit 46c13e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/ScriptableRenderLoop/RenderPasses/ShadowRenderPass.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ void RenderPackedShadows(RenderLoop loop, CullResults cullResults, ref ShadowOut
344344
if (lightType == LightType.Spot)
345345
{
346346
var settings = new DrawShadowsSettings(cullResults, lightIndex);
347-
bool needRendering = cullResults.ComputeSpotShadowsMatricesAndCullingPrimitives(lightIndex, out view, out proj, out settings.splitData);
347+
bool needRendering = cullResults.ComputeSpotShadowMatricesAndCullingPrimitives(lightIndex, out view, out proj, out settings.splitData);
348348
SetupShadowSplitMatrices(ref packedShadows.shadowSlices[shadowSliceIndex], proj, view);
349349
if (needRendering)
350350
RenderShadowSplit(ref shadowSlices[shadowSliceIndex], lightDirection, proj, view, ref loop, settings);
@@ -375,7 +375,7 @@ void RenderPackedShadows(RenderLoop loop, CullResults cullResults, ref ShadowOut
375375
for (int s = 0; s < shadowSliceCount; ++s, shadowSliceIndex++)
376376
{
377377
var settings = new DrawShadowsSettings(cullResults, lightIndex);
378-
bool needRendering = cullResults.ComputePointShadowsMatricesAndCullingPrimitives(lightIndex, (CubemapFace)s, 2.0f, out view, out proj, out settings.splitData);
378+
bool needRendering = cullResults.ComputePointShadowMatricesAndCullingPrimitives(lightIndex, (CubemapFace)s, 2.0f, out view, out proj, out settings.splitData);
379379

380380
SetupShadowSplitMatrices(ref shadowSlices[shadowSliceIndex], proj, view);
381381
if (needRendering)

0 commit comments

Comments
 (0)