diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowAtlas.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowAtlas.cs index 7f8b413778d..8332db2b832 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowAtlas.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowAtlas.cs @@ -566,6 +566,11 @@ TextureHandle IMBlurMoment(RenderGraph renderGraph, TextureHandle atlasTexture) internal TextureHandle BlurShadows(RenderGraph renderGraph) { + if (m_ShadowRequests.Count == 0) + { + return renderGraph.defaultResources.whiteTexture; + } + if (m_BlurAlgorithm == BlurAlgorithm.EVSM) { return EVSMBlurMoments(renderGraph, m_ShadowMapOutput);