From 2d66ead35341776dd5a2610fbb7ca3401d835740 Mon Sep 17 00:00:00 2001 From: getdls <25286924+getdls@users.noreply.github.com> Date: Sun, 19 Jan 2020 03:09:26 +0100 Subject: [PATCH] [MK8] FXAA rebalance, less smear 0.166 -> 0.5 local contrast threshold. Areas i shadows get no/less AA, but in return, most texture detail is still there. High contrast edges will still be processed. --- Enhancements/MarioKart8_FXAA/output.glsl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Enhancements/MarioKart8_FXAA/output.glsl b/Enhancements/MarioKart8_FXAA/output.glsl index 4c4d4551..937c17a1 100644 --- a/Enhancements/MarioKart8_FXAA/output.glsl +++ b/Enhancements/MarioKart8_FXAA/output.glsl @@ -15,15 +15,15 @@ layout(location = 0) out vec4 colorOut0; /*-----------------------------settings-------------------------------------*/ #define Subpix 0.75 //[0.000 to 1.000] Choose the amount of sub-pixel aliasing removal. -#define EdgeThreshold 0.166 //[0.000 to 1.000] Edge detection threshold. The minimum amount of local contrast required to apply algorithm. -#define EdgeThresholdMin 0.0312 //[0.000 to 1.000] Darkness threshold. Trims the algorithm from processing darks. +#define EdgeThreshold 0.5 //[0.000 to 1.000] Edge detection threshold. The minimum amount of local contrast required to apply algorithm. +#define EdgeThresholdMin 0.02 //[0.000 to 1.000] Darkness threshold. Trims the algorithm from processing darks. /*--------------------------------------------------------------------------*/ #define FXAA_PC 1 #define FXAA_GLSL_130 1 -#define FXAA_QUALITY_PRESET 14 - +#define FXAA_QUALITY_PRESET 23 +//->29 - 39 #define FXAA_GREEN_AS_LUMA 1 #define FXAA_DISCARD 0 #define FXAA_GATHER4_ALPHA 0 // Needs #extension GL_ARB_gpu_shader5 : enable