Skip to content

Commit

Permalink
Slight changes to CUT2/3 parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
Swordfish90 committed Jul 31, 2024
1 parent a17a52d commit 8e0093a
Showing 1 changed file with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ object ShaderChooser {
blendMaxContrastEdge = 0.30f,
softEdgesSharpeningAmount = 0.75f,
blendMaxSharpness = 0.75f,
edgeMinValue = 0.025f
)

val upscale8Bits =
Expand All @@ -142,6 +143,7 @@ object ShaderChooser {
blendMaxContrastEdge = 0.30f,
softEdgesSharpeningAmount = 0.75f,
blendMaxSharpness = 0.75f,
edgeMinValue = 0.025f
)

val upscale16BitsMobile =
Expand All @@ -150,6 +152,7 @@ object ShaderChooser {
blendMaxContrastEdge = 0.40f,
softEdgesSharpeningAmount = 0.75f,
blendMaxSharpness = 0.75f,
edgeMinValue = 0.025f
)

val upscale16Bits =
Expand All @@ -158,6 +161,7 @@ object ShaderChooser {
blendMaxContrastEdge = 0.40f,
softEdgesSharpeningAmount = 0.75f,
blendMaxSharpness = 0.75f,
edgeMinValue = 0.025f
)

val upscale32Bits =
Expand All @@ -166,6 +170,7 @@ object ShaderChooser {
blendMaxContrastEdge = 0.40f,
softEdgesSharpeningAmount = 0.75f,
blendMaxSharpness = 0.75f,
edgeMinValue = 0.025f
)

val modern =
Expand All @@ -174,6 +179,7 @@ object ShaderChooser {
blendMaxContrastEdge = 0.40f,
softEdgesSharpeningAmount = 0.75f,
blendMaxSharpness = 0.50f,
edgeMinValue = 0.025f
)

return getConfigForSystem(
Expand All @@ -194,6 +200,7 @@ object ShaderChooser {
blendMaxContrastEdge = 0.30f,
softEdgesSharpeningAmount = 0.75f,
blendMaxSharpness = 0.75f,
edgeMinValue = 0.025f
)

val upscale8Bits =
Expand All @@ -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(
Expand Down

0 comments on commit 8e0093a

Please sign in to comment.