/*-----------------------------------------------------------. / Description / '------------------------------------------------------------/ Game: Author: SweetFX version: 1.5/Boulotaur2024 Injector. +Chromatic Aberration Shader. Description: 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 /*-----------------------------------------------------------. / Choose effects / '-----------------------------------------------------------*/ // Set to 1 for ON or 0 for OFF #define USE_SMAA_ANTIALIASING 1 //[0 or 1] SMAA Anti-aliasing : Smoothens jagged lines using the SMAA technique. #define USE_FXAA_ANTIALIASING 1 //[0 or 1] FXAA Anti-aliasing : Smoothens jagged lines using the FXAA technique #define USE_CA 0 //[0 or 1] Chromatic aberration. You can only use Chromatic Aberration OR the Explosion Shader. Not both at the same time. #define USE_EXPLOSION 0 //[0 or 1] Explosion : Scatters the pixels, making the image look fuzzy. #define USE_CARTOON 0 //[0 or 1] Cartoon : "Toon"s the image.(Interferes with SMAA, CRT, Bloom, HDR and Lumasharpen) #define USE_LEVELS 0 //[0 or 1] Levels : Sets a new black and white point. This increases contrast but causes clipping. Use Curves instead if you want to avoid that. #define USE_ADVANCED_CRT 0 //[0 or 1] Advanced CRT : Simulates an old CRT TV display. Set gaussian blur along with it to get a halation effect #define USE_BLOOM 0 //[0 or 1] Bloom : Makes bright lights bleed their light into their surroundings (relatively high performance cost) #define USE_HDR 1 //[0 or 1] HDR : Not actual HDR - It just tries to mimic an HDR look (relatively high performance cost) #define USE_LUMASHARPEN 1 //[0 or 1] LumaSharpen : Also sharpens the antialiased edges which makes them less smooth - I'm working on fixing that. #define USE_GAUSSIAN 1 //[0 or 1] Gaussian Blur : can be used to... blur, but also bloom/hazy/glowy look, also unsharp masking #define USE_FILMGRAIN 0 //[0 or 1] Filmgrain effect #define USE_TECHNICOLOR 1 //[0 or 1] TECHNICOLOR : Attempts to mimic the look of an old movie using the Technicolor three-strip color process (Techicolor Process 4) #define USE_DPX 0 //[0 or 1] Cineon DPX : Should make the image look like it's been converted to DXP Cineon - basically it's another movie-like look similar to technicolor. #define USE_MONOCHROME 0 //[0 or 1] Monochrome : Monochrome makes the colors disappear. #define USE_LIFTGAMMAGAIN 1 //[0 or 1] Lift Gamma Gain : Adjust brightness and color of shadows, midtones and highlights (avoids clipping) #define USE_TONEMAP 0 //[0 or 1] Tonemap : Adjust gamma, exposure, saturation, bleach and defog. (may cause clipping) #define USE_VIBRANCE 1 //[0 or 1] Vibrance : Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation. #define USE_CURVES 1 //[0 or 1] Curves : Contrast adjustments using S-curves. #define USE_SEPIA 0 //[0 or 1] Sepia : Sepia tones the image. #define USE_VIGNETTE 0 //[0 or 1] Vignette : Darkens the edges of the image to make it look more like it was shot with a camera lens. May cause banding artifacts. #define USE_DITHER 1 //[0 or 1] Dither : Applies dithering to simulate more colors than your monitor can display. This lessens banding artifacts (mostly caused by Vignette) #define USE_BORDER 0 //[0 or 1] Border : Makes the screenedge black as a workaround for the bright edge that forcing some AA modes sometimes causes. #define USE_SPLITSCREEN 0 //[0 or 1] Splitscreen : Enables the before-and-after splitscreen comparison mode. #define USE_CUSTOM 0 //[0 or 1] Custom : Write your own shader by editing custom.h, and then enable it here. /*-----------------------------------------------------------. / SMAA Anti-aliasing settings / '-----------------------------------------------------------*/ #define SMAA_THRESHOLD 0.05 //[0.05 to 0.20] Edge detection threshold. If SMAA misses some edges try lowering this slightly. I prefer between 0.08 and 0.12. #define SMAA_MAX_SEARCH_STEPS 96 //[0 to 98] Determines the radius SMAA will search for aliased edges #define SMAA_MAX_SEARCH_STEPS_DIAG 16 //[0 to 16] Determines the radius SMAA will search for diagonal aliased edges #define SMAA_CORNER_ROUNDING 25 //[0 to 100] Determines the percent of antialiasing to apply to corners. 0 seems to affect fine text the least so it's the default. // -- Advanced SMAA settings -- #define COLOR_EDGE_DETECTION 1 //[0 or 1] 1 Enables color edge detection (slower but slightly more acurate) - 0 uses luma edge detection (faster) #define SMAA_DIRECTX9_LINEAR_BLEND 0 //[0 or 1] Using DX9 HARDWARE? (software version doesn't matter) if so this needs to be 1 - If not, leave it at 0. //Enable this only if you use a Geforce 7xxx series or older card, or a Radeon X1xxx series or older card. /*-----------------------------------------------------------. / FXAA Anti-aliasing settings / '-----------------------------------------------------------*/ #define FXAA_QUALITY__PRESET 39 //[1 to 39] Choose the quality preset. 39 is the highest quality. #define fxaa_Subpix 0.1 //[0.000 to 1.000] Choose the amount of sub-pixel aliasing removal. #define fxaa_EdgeThreshold 0.01 //[0.000 to 1.000] Edge detection threshold. The minimum amount of local contrast required to apply algorithm. #define fxaa_EdgeThresholdMin 0.3 //[0.000 to 1.000] Darkness threshold. Trims the algorithm from processing darks. /*-----------------------------------------------------------. / Chromatic aberration / '-----------------------------------------------------------*/ #define outfocus 0.012 //[0.00 to 1.000] How strong the effect should be. /*-----------------------------------------------------------. / Explosion settings / '-----------------------------------------------------------*/ #define Explosion_Radius 1.0 //[0.2 to 100.0] Amount of effect you want. /*-----------------------------------------------------------. / Cartoon settings / '-----------------------------------------------------------*/ #define CartoonPower 4.0 //[0.1 to 10.0] Amount of effect you want. #define CartoonEdgeSlope 6.0 //[0.1 to 8.0] Raise this to filter out fainter edges. You might need to increase the power to compensate. Whole numbers are faster. /*----------------------------------------------------------. / Levels settings / '----------------------------------------------------------*/ #define Levels_black_point 16 //[0 to 255] The black point is the new black - literally. Everything darker than this will become completely black. Default is 16.0 #define Levels_white_point 235 //[0 to 255] The new white point. Everything brighter than this becomes completely white. Default is 235.0