// ╔═══╗
// ║   ║ ║
// ║   ║ ║  ─╫──
// ║   ║ ║   ║  ╟─┐
// ║   ║ ║   ║  ║ ──╖    ┌───── ┌┐     ┌───┐
// ╟───╢ ║   ║  ║ ╓─╢    │      ││   │ │   │
// ║   ║ ╙── ╙─ ║ ╙─╜    │      ││   │ │   │
// ----------------------├───   ││   │ ├───┴┐
// ║   ║ ╓─╖ ╟─┐ ─╫──__  │      ││   │ │    │
// ║   ║ ║ ║ ║  ■ ║ ──╖  │      ││   │ │    │
// ║   ║ ╟─╜ ║  ╖ ║ ╓─╢  │      │└───┤ │    │
// ║   ║ ║   ║  ║ ╙─╙─╜  └───── │    │ └─────---------> serie Skyrim v.0.262
// ║   ║ ║   ║  ╨
// ╚╗ ╔╝ ╙──
//  ╚═╝
// Game: Skyrim (Altra Verità ENB)
// Author: Marco Colonna (TOVOT)
// SweetFX version: 1.5/Boulotaur2024 Injector. +Chromatic Aberration Shader.
// Description: la seguente configurazione è stata sviluppata per il preset ENB da me creato
// (Altra Verità ENB) che trovate nel Nexus, aggiunge comunque delle lievi migliorie alla versione Vanilla.
// Please note when tweaking settings that higher numbers does not always equal better (nor does lower).
// Finding the best settings for your game and your taste is about finding just the right amount to apply.
// If you made a good setttings preset please share it with your friends, on forums and websites,
// and/or submit it to the SweetFX Settings Database : http://sfx.thelazy.net/games/
// This description field and the above Game and Author fields are here so you can fill in your own details
// for the presets you create. Just delete this description and fill in your own and then share it with the world.
// Hope you enjoy my mod.
// - CeeJay.dk
// Set to 1 for ON or 0 for OFF
#define USE_SMAA_ANTIALIASING			1
#define USE_FXAA_ANTIALIASING 			0
#define USE_CA                			1
#define USE_EXPLOSION         			0
#define USE_CARTOON           			0
#define USE_LEVELS            			1
#define USE_ADVANCED_CRT      			0
#define USE_BLOOM             			0
#define USE_HDR               			0
#define USE_LUMASHARPEN       			1
#define USE_GAUSSIAN          			1
#define USE_FILMGRAIN         			0
#define USE_TECHNICOLOR       			0
#define USE_DPX               			0
#define USE_MONOCHROME        			0
#define USE_LIFTGAMMAGAIN     			0
#define USE_TONEMAP           			0
#define USE_VIBRANCE          			1
#define USE_CURVES            			1
#define USE_SEPIA             			0
#define USE_VIGNETTE          			0
#define USE_DITHER            			1
#define USE_BORDER            			0
#define USE_SPLITSCREEN       			0
#define USE_CUSTOM            			0
//------------------------------------------------------------------
// SMAA Anti-aliasing settings
#define SMAA_THRESHOLD 				0.10
#define SMAA_MAX_SEARCH_STEPS 			64
#define SMAA_MAX_SEARCH_STEPS_DIAG 		16
#define SMAA_CORNER_ROUNDING 			50
// Advanced SMAA settings
#define COLOR_EDGE_DETECTION 			1
#define SMAA_DIRECTX9_LINEAR_BLEND		0
//------------------------------------------------------------------
// FXAA Anti-aliasing settings
#define FXAA_QUALITY__PRESET			39
#define fxaa_Subpix				0.1
#define fxaa_EdgeThreshold			0.01
#define fxaa_EdgeThresholdMin			0.3
//------------------------------------------------------------------
// Chromatic aberration
#define outfocus				0.003
//------------------------------------------------------------------
// Explosion settings
#define Explosion_Radius			1.0
//------------------------------------------------------------------
// Cartoon settings
#define CartoonPower				4.0
#define CartoonEdgeSlope			6.0
//------------------------------------------------------------------
// Levels settings
#define Levels_black_point			5
#define Levels_white_point			250
//------------------------------------------------------------------
// Advanced CRT settings
#define CRTAmount				1.00
#define CRTResolution				1.0
#define CRTgamma				2.2
#define CRTmonitorgamma				2.4
#define CRTBrightness				1.2
#define CRTScanlineIntensity			2.0
#define CRTScanlineGaussian			1
#define CRTCurvature				1
#define CRTCurvatureRadius			2.0
#define CRTCornerSize				0.0100
#define CRTDistance				2.00
#define CRTAngleX				0.00
#define CRTAngleY				-0.15
#define CRTOverScan				1.00
#define CRTOversample				0
//------------------------------------------------------------------
// Bloom settings
#define BloomThreshold				20.25
#define BloomPower				1.446
#define BloomWidth				0.0142
//------------------------------------------------------------------
// HDR settings
#define HDRPower				1.30
#define radius2					0.87
//------------------------------------------------------------------
// LumaSharpen settings
// Sharpening
#define sharp_strength				0.68
#define sharp_clamp				0.036
// Advanced sharpening settings
#define pattern					1
#define offset_bias				0.9
// Debug sharpening settings
#define show_sharpen				0
//------------------------------------------------------------------
// Gaussian Blur settings
#define GaussEffect				2
#define GaussQuality				1
#define GaussSigma				3
#define GaussBloomWarmth			1
#define GaussThreshold				0.50
#define GaussExposure				43.0
#define GaussStrength				0.13
//------------------------------------------------------------------
// Film grain settings
#define FilmGrainIntensity			0.6
#define FilmGrainExposure			20
#define FilmGrainSize				6
//------------------------------------------------------------------
// TECHNICOLOR settings
#define TechniAmount				0.46
#define TechniPower				4.0
#define redNegativeAmount			0.74
#define greenNegativeAmount			0.83
#define blueNegativeAmount			0.9
//------------------------------------------------------------------
// Cineon DPX settings
#define Red					9.0
#define Green					9.0
#define Blue					9.0
#define ColorGamma				1.0
#define DPXSaturation				1.0
#define RedC					0.33
#define GreenC					0.36
#define BlueC					0.35
#define Blend					0.23
//------------------------------------------------------------------
// Monochrome settings
#define Monochrome_conversion_values	float3(0.18,0.41,0.41)
//------------------------------------------------------------------
// Lift Gamma Gain settings
#define RGB_Lift			float3(1.000, 1.000, 1.000)
#define RGB_Gamma			float3(1.000, 1.000, 1.000)
#define RGB_Gain			float3(1.000, 1.000, 1.000)
//------------------------------------------------------------------
// Tonemap settings
#define Gamma					1.0
#define Exposure				0.0
#define Saturation				0.0
#define Bleach					0.0
#define Defog					0.0
#define FogColor			float3(0.0, 0.0, 0.0)
//------------------------------------------------------------------
// Vibrance settings
#define Vibrance				0.05
#define Vibrance_RGB_balance		float3(1.00, 1.00, 1.00)
//------------------------------------------------------------------
// Curves settings
#define Curves_mode				2
#define Curves_contrast				0.05
// Advanced curve settings
#define Curves_formula				3
							 
//------------------------------------------------------------------
// Sepia settings
#define ColorTone			float3(1.0, 1.0, 1.0)
#define GreyPower				0.0
#define SepiaPower				0.58
//------------------------------------------------------------------
// Vignette settings
#define VignetteType				1
#define VignetteRatio				1.00
#define VignetteRadius				1.00
#define VignetteAmount				-0.40
#define VignetteSlope				6
#define VignetteCenter			float2(0.500, 0.500)
//------------------------------------------------------------------
// Dither settings
#define dither_method				1
//------------------------------------------------------------------
// Border settings
#define border_width			float2(1,100)
#define border_color			float3(0, 0, 0)
//------------------------------------------------------------------
// Splitscreen settings
#define splitscreen_mode			1
													
//----------------------------------------------------------------------------------------------
// Key settings
// This is the section where you can define your own key mapping
// See the following URL to find out what keycode a key has:
// http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes
// key_toggle_sweetfx = 45 ; 45 = Einfg
// key_screenshot     = 35 ; 35 = Ende->
// key_reload_sweetfx = 46 ; 46 = Entf
//----------------------------------------------------------------------------------------------
// Misc settings
// You can load and chain other DirectX wrappers (ENB, Helix, Windower...)
// If the external wrapper is already named d3d9.dll, rename it into
// something else like "d3d9_enb.dll" (note that even if this is commented it actually works)
// external_d3d9_wrapper = none
// external_dxgi_wrapper = none