Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
/ Description /
'------------------------------------------------------------/
Game: Battlefield 3
SweetFX version: 1.3
Author: Derko1
Description: "SMAA, Luma Sharpening, DPX, Curves, Tone Mapping, Vibrance and
Dither"
Showcase: http://www.overclock.net/t/1296721/how-to-anti-aliasing-injection-fxaa-
smaa-and-sweetfx/350#post_18575757
/*-----------------------------------------------------------.
/ Choose effects /
'-----------------------------------------------------------*/
/*-----------------------------------------------------------.
/ SMAA Anti-aliasing settings /
'-----------------------------------------------------------*/
/*-----------------------------------------------------------.
/ LumaSharpen settings /
'-----------------------------------------------------------*/
// -- Sharpening --
#define sharp_strength 1.5 // [0.10 to 3.00] Strength of the
sharpening
#define sharp_clamp 0.035 // [0.000 to 1.000] Limits maximum
amount of sharpening a pixel recieves - Default is 0.035
/*-----------------------------------------------------------.
/ Bloom settings /
'-----------------------------------------------------------*/
#define BloomThreshold 20.25 // [0.00 to 50.00] Threshold for what
is a bright light (that causes bloom) and what isn't.
#define BloomPower 1.446 // [0.0000 to 8.0000] Strength of the
bloom
#define BloomWidth 0.0142 // [0.0000 to 1.0000] Width of the
bloom
/*-----------------------------------------------------------.
/ HDR settings /
'-----------------------------------------------------------*/
#define HDRPower 1.30 // [0.0 to 8.0] Strangely lowering this
makes the image brighter
#define radius2 0.87 // [0.0 to 8.0] Raising this seems to
make the effect stronger and also brighter
/*-----------------------------------------------------------.
/ TECHNICOLOR settings /
'-----------------------------------------------------------*/
#define TechniAmount 0.11 // [0.0 to 1.0]
#define TechniPower 2.8 // [0.0 to 8.0]
#define redNegativeAmount 0.88 // [0.0 to 1.0]
#define greenNegativeAmount 0.88 // [0.0 to 1.0]
#define blueNegativeAmount 0.88 // [0.0 to 1.0]
/*-----------------------------------------------------------.
/ Cineon DPX settings /
'-----------------------------------------------------------*/
#define Red 8.0 // [1.0 to 15.0]
#define Green 8.0 // [1.0 to 15.0]
#define Blue 8.0 // [1.0 to 15.0]
/*-----------------------------------------------------------.
/ Lift Gamma Gain settings /
'-----------------------------------------------------------*/
#define RGB_Lift float3(1.000, 1.000, 1.000) // [0.000 to 2.000]
Adjust shadows for Red, Green and Blue
#define RGB_Gamma float3(1.000, 1.000, 1.000) // [0.000 to 2.000]
Adjust midtones for Red, Green and Blue
#define RGB_Gain float3(1.000, 1.000, 1.000) // [0.000 to 2.000]
Adjust highlights for Red, Green and Blue
/*-----------------------------------------------------------.
/ Tonemap settings /
'-----------------------------------------------------------*/
#define Gamma 1.02 // [0.00 to 2.00] Adjust midtones
/*-----------------------------------------------------------.
/ Vibrance settings /
'-----------------------------------------------------------*/
#define Vibrance 0.20 // [-1.0 to 1.0] Intelligently
saturates (or desaturates if you use negative values) the pixels depending on their
original saturation.
/*-----------------------------------------------------------.
/ Curves settings /
'-----------------------------------------------------------*/
#define Curves_contrast 0.30 // [-1.0 to 1.0] The amount of contrast
you want
/*-----------------------------------------------------------.
/ Sepia settings /
'-----------------------------------------------------------*/
#define ColorTone float3(1.40, 1.10, 0.90) // [0.00 to 1.00, 0.00 to
1.00, 0.00 to 1.00] What color to tint the image
#define GreyPower 0.11 // [0.0 to 1.0] How much desaturate the
image before tinting it
#define SepiaPower 0.58 // [0.0 to 1.0] How much to tint the
image
/*-----------------------------------------------------------.
/ Vignette settings /
'-----------------------------------------------------------*/
#define VignetteRadius 1.00 // [-1.00 to 3.00] lower values =
stronger radial effect from center
#define VignetteAmount -1.00 // [-2.00 to 1.00] Strength of black.
-2.00 = Max Black, 1.00 = Max White.
#define VignetteSlope 8 // [1 to 16] How far away from the
center the change should start to really grow strong (odd numbers cause a larger
fps drop than even numbers)
#define VignetteCenter float2(0.500, 0.500) // [0.00 to 1.00] Center of
effect.
/*-----------------------------------------------------------.
/ Dither settings /
'-----------------------------------------------------------*/
//No settings yet, beyond switching it on or off in the top section.
//Note that the checkerboard pattern used by Dither, makes an image harder to
compress.
//This can make your screenshots and video recordings take up more space.
/*-----------------------------------------------------------.
/ Splitscreen settings /
'-----------------------------------------------------------*/
#define splitscreen_mode 3 // [1|2|3|4|5] 1 = Vertical 50/50 split, 2 = Vertical
25/50/25 split, 3 = Vertical 50/50 angled split, 4 = Horizontal 50/50 split, 5 =
Horizontal 25/50/25 split