Fix SSR mixing bug regression
This commit is contained in:
BIN
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");
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user