Fix SSR mixing bug regression

This commit is contained in:
2026-04-03 11:28:22 +02:00
parent 2fc95bdf57
commit 121ef2f244
3 changed files with 6 additions and 4 deletions
Binary file not shown.
@@ -310,6 +310,8 @@ void ReflectionsPass::Render(RenderContext& renderContext, GPUTextureView* light
context->Clear(*reflectionsBuffer, Color::Black);
// Reflection Probes pass
if (!useSSR && renderContext.View.Mode == ViewMode::Reflections)
context->Clear(lightBuffer, Color::Black);
if (renderProbes)
{
PROFILE_GPU_CPU("Env Probes");
+1 -1
View File
@@ -231,7 +231,7 @@ float4 PS_ResolvePass(Quad_VS2PS input) : SV_Target0
// Normalize alpha
result.rgb *= max(1, result.a);
result.a = min(result, 1);
result.a = min(result.a, 1);
//return float4(abs(Luminance(result) - Luminance(saturate(result))).xxx, 1);
//return saturate(result);