[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.
This commit is contained in:
getdls 2020-01-19 03:09:26 +01:00
parent bca55a1bc4
commit 2d66ead353

View File

@ -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