From 8e0093a7563ac994dffd10941e6fe69dd9c535e7 Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Wed, 31 Jul 2024 23:18:36 +0200 Subject: [PATCH] Slight changes to CUT2/3 parameters. --- .../lemuroid/app/shared/game/ShaderChooser.kt | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/lemuroid-app/src/main/java/com/swordfish/lemuroid/app/shared/game/ShaderChooser.kt b/lemuroid-app/src/main/java/com/swordfish/lemuroid/app/shared/game/ShaderChooser.kt index 034d04f40f..006d99892f 100644 --- a/lemuroid-app/src/main/java/com/swordfish/lemuroid/app/shared/game/ShaderChooser.kt +++ b/lemuroid-app/src/main/java/com/swordfish/lemuroid/app/shared/game/ShaderChooser.kt @@ -134,6 +134,7 @@ object ShaderChooser { blendMaxContrastEdge = 0.30f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val upscale8Bits = @@ -142,6 +143,7 @@ object ShaderChooser { blendMaxContrastEdge = 0.30f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val upscale16BitsMobile = @@ -150,6 +152,7 @@ object ShaderChooser { blendMaxContrastEdge = 0.40f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val upscale16Bits = @@ -158,6 +161,7 @@ object ShaderChooser { blendMaxContrastEdge = 0.40f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val upscale32Bits = @@ -166,6 +170,7 @@ object ShaderChooser { blendMaxContrastEdge = 0.40f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val modern = @@ -174,6 +179,7 @@ object ShaderChooser { blendMaxContrastEdge = 0.40f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.50f, + edgeMinValue = 0.025f ) return getConfigForSystem( @@ -194,6 +200,7 @@ object ShaderChooser { blendMaxContrastEdge = 0.30f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val upscale8Bits = @@ -202,38 +209,43 @@ object ShaderChooser { blendMaxContrastEdge = 0.30f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val upscale16BitsMobile = ShaderConfig.CUT3( blendMinContrastEdge = 0.10f, - blendMaxContrastEdge = 0.40f, + blendMaxContrastEdge = 0.50f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val upscale16Bits = ShaderConfig.CUT3( blendMinContrastEdge = 0.10f, - blendMaxContrastEdge = 0.40f, + blendMaxContrastEdge = 0.50f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val upscale32Bits = ShaderConfig.CUT3( blendMinContrastEdge = 0.10f, - blendMaxContrastEdge = 0.40f, + blendMaxContrastEdge = 0.50f, softEdgesSharpeningAmount = 0.75f, blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) val modern = ShaderConfig.CUT3( blendMinContrastEdge = 0.10f, - blendMaxContrastEdge = 0.40f, + blendMaxContrastEdge = 0.50f, softEdgesSharpeningAmount = 0.75f, - blendMaxSharpness = 0.50f, + blendMaxSharpness = 0.75f, + edgeMinValue = 0.025f ) return getConfigForSystem(