@@ -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