Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////---------------//
- ///**LUMASHARPEN**///
- //---------------////
- #define USE_LUMASHARPEN 1 //[LumaSharpen] //-LumaSharpen : Sharpens the image.
- //>LumaSharpen settings<\\
- #define sharp_strength 1.0 //[0.10:3.00] //-Strength of the sharpening
- #define sharp_clamp 0.035 //[0.000:1.000] //-Limits maximum amount of sharpening a pixel recieves - Default is 0.035
- //>Advanced sharpening settings<\\
- #define pattern 4 //[1|2|3|4] //-Choose a sample pattern. 1 = Fast, 2 = Normal, 3 = Wider, 4 = Pyramid shaped.
- #define offset_bias 0.8 //[0.0:6.0] //-Offset bias adjusts the radius of the sampling pattern. I designed the pattern for offset_bias 1.0, but feel free to experiment.
- //>Debug sharpening settings<\\
- #define show_sharpen 0 //[0:1] //-Visualize the strength of the sharpen (multiplied by 4 to see it better)
- #define LumaSharpen_ToggleKey RFX_ToggleKey //[undef] //-
- ////---------//
- ///**SEPIA**///
- //---------////
- #define USE_SEPIA 1 //[Shared] //-Sepia : Sepia tones the image.
- //>Sepia settings<\\
- #define ColorTone float3(1.00, 1.00, 1.00) //[0.00:2.55] //-What color to tint the image.
- #define GreyPower 0.4 //[0.00:1.00] //-How much desaturate the image before tinting it.
- #define SepiaPower 0.2 //[0.00:1.00] //-How much to tint the image.
- ////-------------//
- ///**FILMGRAIN**///
- //-------------////
- #define USE_FILMGRAIN 1 //[Shared] //-Film Grain : Adds film grain to the image. A side effect of the Film Grain effect is that it also dithers the screen. You don't need both the Film Grain and the Dither effect enabled at the same time.
- //>Film Grain settings<\\
- #define FilmGrain_intensity 0.4 //[0.00:1.00] //-How visible the grain is. Higher is more visible.
- #define FilmGrain_variance 0.4 //[0.00:1.00] //-Controls the variance of the gaussian noise. Lower values look smoother.
- #define FilmGrain_SNR 8 //[0:16] //-Higher Signal-to-Noise Ratio values give less grain to brighter pixels. 0 disables this feature.
- //>Advanced Film Grain settings<\\
- #define FilmGrain_mean 0.80 //[0.00:1.00] //-The average mean of the gaussian noise. Probably best kept at the middle value (0.50)
- ////------------//
- ///**VIGNETTE**///
- //------------////
- #define USE_VIGNETTE 1 //[Shared] //-Vignette : Darkens the edges of the image to make it look more like it was shot with a camera lens. May cause banding artifacts.
- //>Vignette settings<\\
- #define VignetteType 1 //[1|2|3] //-1 = Original, 2 = New, 3 = TV style
- #define VignetteRatio 1.6 //[0.15:6.00] //-Sets a width to height ratio. 1.00 (1/1) is perfectly round, while 1.60 (16/10) is 60 % wider than it's high.
- #define VignetteRadius 1.40 //[-1.00:3.00] //-lower values = stronger radial effect from center
- #define VignetteAmount -0.50 //[-2.00:1.00] //-Strength of black. -2.00 = Max Black, 1.00 = Max White.
- #define VignetteSlope 2 //[2: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.000:1.000] //-Center of effect for VignetteType 1. 2 and 3 do not obey this setting.
- ////--------//
- ///**SMAA**///
- //--------////
- #define USE_SMAA 1 //[SMAAWrap] //-SMAA Anti-aliasing : Smoothens jagged lines using the SMAA technique.
- //>SMAA Anti-aliasing settings<\\
- #define SMAA_THRESHOLD 0.05 //[0.05: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 98 //[0:98] //-Determines the radius SMAA will search for aliased edges
- #define SMAA_MAX_SEARCH_STEPS_DIAG 16 //[0:16] //-Determines the radius SMAA will search for diagonal aliased edges
- #define SMAA_CORNER_ROUNDING 100 //[0:100] //-Determines the percent of antialiasing to apply to corners. 0 seems to affect fine text the least so it's the default.
- #define SMAA_ToggleKey RFX_ToggleKey //[undef] //-
- //>Advanced SMAA settings<\\
- #define SMAA_EDGE_DETECTION 1 //[1|2|3] //-1 = Luma edge detection, 2 = Color edge detection, 3 = Depth edge detection
- #define SMAA_DIRECTX9_LINEAR_BLEND 0 //[0: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.
- //>SMAA Predication settings<\\
- #define SMAA_PREDICATION 1 //[0:1] //-Enables predication which uses BOTH the color and the depth texture for edge detection to more accurately detect edges.
- #define SMAA_PREDICATION_THRESHOLD 0.09 //[undef] //-Threshold to be used in the depth buffer.
- #define SMAA_PREDICATION_SCALE 1.0 //[undef] //-How much to scale the global threshold used for luma or color edge detection when using predication
- #define SMAA_PREDICATION_STRENGTH 20.4 //[undef] //-How much to locally decrease the threshold.
- //>Debug SMAA settings<\\
- #define SMAA_DEBUG_OUTPUT 0 //[0:4] //-No description given
- ////--------//
- ///**FXAA**///
- //--------////
- #define USE_FXAA 1 //[FXAAWrap] //-FXAA Anti-aliasing : Smoothens jagged lines using the FXAA technique.
- //>FXAA Anti-aliasing settings<\\
- #define FXAA_QUALITY__PRESET 9 //[1:9] //-Choose the quality preset. 9 is the highest quality.
- #define fxaa_Subpix 0.05 //[0.000:1.000] //-Choose the amount of sub-pixel aliasing removal. Higher values makes the image softer/blurrier.
- #define fxaa_EdgeThreshold 0.400 //[0.000:1.000] //-Edge detection threshold. The minimum amount of local contrast required to apply algorithm. Similar to SMAA_THRESHOLD
- #define fxaa_EdgeThresholdMin 0.001 //[0.000:1.000] //-Darkness threshold. Pixels darker than this are not processed in order to increase performance.
- #define FXAA_ToggleKey RFX_ToggleKey //[undef] //-
Advertisement
Add Comment
Please, Sign In to add comment