From 6c2a941a537c77146f4f25634867a823963e2023 Mon Sep 17 00:00:00 2001 From: Russell Newman Date: Wed, 4 Sep 2024 19:06:08 +0100 Subject: [PATCH] Fixed highlight recovery bug --- Core/Resources/CL/HighlightRecovery.cl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Resources/CL/HighlightRecovery.cl.h b/Core/Resources/CL/HighlightRecovery.cl.h index e908b84..2ed8f10 100644 --- a/Core/Resources/CL/HighlightRecovery.cl.h +++ b/Core/Resources/CL/HighlightRecovery.cl.h @@ -20,7 +20,7 @@ // Feather in stops to interpolate between highest/lowest channels #define HIGHLIGHT_RECOVERY_CHANNEL_FEATHER_STOPS (1.0f) -#define HIGHLIGHT_RECOVERY_EPSILON ((half)0.0001f) +#define HIGHLIGHT_RECOVERY_EPSILON ((half)0.001f) PRIVATE half3 SynthesiseThreeChannels(half3 cameraWhite) {