Skip to content

Commit 219cdc6

Browse files
Push
1 parent 2f32d43 commit 219cdc6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Assets/ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ void RenderDeferredLighting(HDCamera hdCamera, ScriptableRenderContext renderCon
721721
RenderTargetIdentifier[] colorRTs = { m_CameraColorBufferRT, m_CameraSubsurfaceBufferRT };
722722

723723
// Output split lighting for materials tagged with the SSS stencil bit.
724-
m_LightLoop.RenderDeferredLighting(hdCamera, renderContext, globalDebugParameters.lightingDebugParameters, colorRTs, m_CameraStencilBufferRT, true);
724+
// m_LightLoop.RenderDeferredLighting(hdCamera, renderContext, globalDebugParameters.lightingDebugParameters, colorRTs, m_CameraStencilBufferRT, true);
725725

726726
// Output combined lighting for all the other materials.
727727
m_LightLoop.RenderDeferredLighting(hdCamera, renderContext, globalDebugParameters.lightingDebugParameters, colorRTs, m_CameraStencilBufferRT, false);

Assets/ScriptableRenderPipeline/HDRenderPipeline/Lighting/Resources/Deferred.shader

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Shader "Hidden/HDRenderPipeline/Deferred"
1616
Stencil
1717
{
1818
Ref [_StencilRef]
19-
Comp Equal
20-
Pass Keep
19+
Comp Always
20+
Pass Zero
2121
}
2222

2323
ZWrite Off

0 commit comments

Comments
 (0)