//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//http://enbdev.com
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/*
THIS IS HLSL FILE FORMAT FOR EXECUTING ADDITIONAL
POST PROCESSING EFFECTS. MAKE THE COPY BEFORE CHANGING IT!
*/
//enable blurring, useless, disabled at all
//#define EBLURRING
//enable sharpening
//#define ESHARPENING
//if defined, color sharpen, otherwise sharp by gray
#define ESHARPENINGCOLOR
//enable noise in dark areas
//#define ENOISE
float SamplingRange=1.0; //sharpening or blurring range
float SharpeningAmount=2.2;
float ScanLineAmount=0.0;
float ScanLineRepeat=0.0; //0.5, 0.3333, 0.25, 0.125, so on
float NoiseAmount=0.03333;
//global variables, already set before executing this code
float ScreenSize; //width of the display resolution (1920 f.e.)
float ScreenScaleY; //screen proportions (1.333 for 1920/1080)