From 827f1b97728d99b70a341abe5aa80b5dd5fe8169 Mon Sep 17 00:00:00 2001 From: Nico de Poel Date: Wed, 24 Jul 2024 11:51:17 +0200 Subject: [PATCH] Experiment with a lower reactive mask value for stuff drawn into the reactive stencil buffer. --- .../Runtime/PostProcessing/Shaders/DLSSBiasColorMask.shader | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/DLSSBiasColorMask.shader b/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/DLSSBiasColorMask.shader index ad816c57..7e798648 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/DLSSBiasColorMask.shader +++ b/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/DLSSBiasColorMask.shader @@ -37,8 +37,10 @@ Shader "Hidden/HDRP/DLSSBiasColorMask" void DLSSBiasColorMaskPS(Varyings input, out float4 outColor : SV_Target0) { + const float value = 0.7f; + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input); - outColor = float4(1,1,1,1); + outColor = float4(value,value,value,value); } ENDHLSL