// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// | schakusa ENB effect file (v4.0) |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// | Original Codes & Shaders by: |
// | Boris, Ice, Dkt70, AAA, AMD, gp65cj04, MK, Crosire |
// | |
// | Edited, modified, tweaking lines etc by: |
// | schakusa |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// | TWEAKING Lines |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// +---------------------------------------+
// ################ | Depth of Field | ###################
// +---------------------------------------+
/*------------------------------------------------------------------------------
| Disable both: no DoF * Enable DOF: static Dof * Enable both: dynamic DoF |
------------------------------------------------------------------------------*/
//#define DOF
//#define DYNAMIC
/*------------------------------------------------------------------------------
| DoF Quality. Only enable ONE at the same time |
------------------------------------------------------------------------------*/
//#define DOF_LOW_QUALITY
//#define DOF_NORMAL_QUALITY
//#define DOF_HIGH_QUALITY
/*------------------------------------------------------------------------------
| Intensity of Blurring. Higher Value -> Stronger DoF effect |
------------------------------------------------------------------------------*/
float DOFAmount_HQ = 0.50;
float DOFAmount_LQ = 0.20;
float DOFSizeMulti = 1.00;
/*------------------------------------------------------------------------------
| Tuning Options for static DoF |
------------------------------------------------------------------------------*/
float SNearBlur = -30.0;
float SFocalPlane = 1.0;
float SFarBlur = 600.0;
float SBlurCutoffConstant = 1.00;
/*------------------------------------------------------------------------------
| Tuning Options for dynamic DoF |
------------------------------------------------------------------------------*/
float DDOF_FOCUS = 8.0;
float DNearBlur = -50.0;
float DFocalPlane = 1.0;
float DFarBlur = 50000;
float DBlurCutoffConstant = 1.00;
/*------------------------------------------------------------------------------
| This is where the dynamic DOF is focusing, if enabled. Center = 0.5. |
------------------------------------------------------------------------------*/
float2 FocusPoint = float2(0.5, 0.5);
// +---------------------------------------+
// ################ | Motion Blur | ###################
// +---------------------------------------+
/*------------------------------------------------------------------------------
| Higher -> Stronger Motion Blur // To disable MB set value to 0 |
------------------------------------------------------------------------------*/
#define MaxMotionBlurSamples 30
// +---------------------------------------+
// ################ | Image Settings | ###################
// +---------------------------------------+
/*------------------------------------------------------------------------------
| Change global Brightness, Adaption, Saturation and Contrast |
------------------------------------------------------------------------------*/
#define GlobalSaturation
float Saturation = 1.20;
float AddContrast = 0.25;
float AdaptationValue = 1;
float Brightness = 1.5;
/*------------------------------------------------------------------------------
| Enable or Disable Crossprocessing |
------------------------------------------------------------------------------*/
//#define CROSSPROCESS
float fRatio = 0.5;
float moodR = 0.33;
float moodG = 0.35;
float moodB = 0.4;
/*------------------------------------------------------------------------------
| Different Tonemapping Presets by IcelaGlace |
------------------------------------------------------------------------------*/
//#define FILMICCURVE
//#define FILMICGAMMA
//#define LOGARITHMIC
//#define REINHARD
//#define REINHARD_ICE21
//#define HELJ
float toneMapExposure = 1.2;
/*------------------------------------------------------------------------------
| Bleach Bypass. Image get "washed up" |
------------------------------------------------------------------------------*/
//#define BLEACH
float BP_factor = 0.2;
// +---------------------------------------+
// ################ | Bloom Settings | ###################
// +---------------------------------------+
/*------------------------------------------------------------------------------
| Overall bloom, globally. Higher values increase sun size and brightness too. |
------------------------------------------------------------------------------*/
float BloomAmountMix = 0.9;
float BloomAdditive = 0.0;
/*------------------------------------------------------------------------------
| Color of the bloom. |
------------------------------------------------------------------------------*/
float BloomR = 1.00;
float BloomG = 0.80;
float BloomB = 0.60;
/*------------------------------------------------------------------------------
| Bloom distortion. |
------------------------------------------------------------------------------*/
//#define BLOOM_DISTORTION
float BloomDistortionAmount = 0.50;
// +---------------------------------------+
// ################ | Vignette | ###################
// +---------------------------------------+
/*------------------------------------------------------------------------------
| Set Value to 0.0 to disable Vignette |
------------------------------------------------------------------------------*/
float Vignetting = 0.0;
/*------------------------------------------------------------------------------
| Enable to get black Bars on Top and Bottom of image |
------------------------------------------------------------------------------*/
//#define BLACKBARS
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// | END of TWEAKING Lines |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++