Guest User

Untitled

a guest
May 25th, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 KB | None | 0 0
  1. ////---------------//
  2. ///**LUMASHARPEN**///
  3. //---------------////
  4. #define USE_LUMASHARPEN 1 //[LumaSharpen] //-LumaSharpen : Sharpens the image.
  5.  
  6. //>LumaSharpen settings<\\
  7. #define sharp_strength 1.0 //[0.10:3.00] //-Strength of the sharpening
  8. #define sharp_clamp 0.035 //[0.000:1.000] //-Limits maximum amount of sharpening a pixel recieves - Default is 0.035
  9.  
  10. //>Advanced sharpening settings<\\
  11. #define pattern 4 //[1|2|3|4] //-Choose a sample pattern. 1 = Fast, 2 = Normal, 3 = Wider, 4 = Pyramid shaped.
  12. #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.
  13.  
  14. //>Debug sharpening settings<\\
  15. #define show_sharpen 0 //[0:1] //-Visualize the strength of the sharpen (multiplied by 4 to see it better)
  16. #define LumaSharpen_ToggleKey RFX_ToggleKey //[undef] //-
  17.  
  18.  
  19. ////---------//
  20. ///**SEPIA**///
  21. //---------////
  22. #define USE_SEPIA 1 //[Shared] //-Sepia : Sepia tones the image.
  23.  
  24. //>Sepia settings<\\
  25. #define ColorTone float3(1.00, 1.00, 1.00) //[0.00:2.55] //-What color to tint the image.
  26. #define GreyPower 0.4 //[0.00:1.00] //-How much desaturate the image before tinting it.
  27. #define SepiaPower 0.2 //[0.00:1.00] //-How much to tint the image.
  28.  
  29.  
  30. ////-------------//
  31. ///**FILMGRAIN**///
  32. //-------------////
  33. #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.
  34.  
  35. //>Film Grain settings<\\
  36. #define FilmGrain_intensity 0.4 //[0.00:1.00] //-How visible the grain is. Higher is more visible.
  37. #define FilmGrain_variance 0.4 //[0.00:1.00] //-Controls the variance of the gaussian noise. Lower values look smoother.
  38. #define FilmGrain_SNR 8 //[0:16] //-Higher Signal-to-Noise Ratio values give less grain to brighter pixels. 0 disables this feature.
  39.  
  40. //>Advanced Film Grain settings<\\
  41. #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)
  42.  
  43.  
  44. ////------------//
  45. ///**VIGNETTE**///
  46. //------------////
  47. #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.
  48.  
  49. //>Vignette settings<\\
  50. #define VignetteType 1 //[1|2|3] //-1 = Original, 2 = New, 3 = TV style
  51. #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.
  52. #define VignetteRadius 1.40 //[-1.00:3.00] //-lower values = stronger radial effect from center
  53. #define VignetteAmount -0.50 //[-2.00:1.00] //-Strength of black. -2.00 = Max Black, 1.00 = Max White.
  54. #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)
  55. #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.
  56.  
  57.  
  58. ////--------//
  59. ///**SMAA**///
  60. //--------////
  61. #define USE_SMAA 1 //[SMAAWrap] //-SMAA Anti-aliasing : Smoothens jagged lines using the SMAA technique.
  62.  
  63. //>SMAA Anti-aliasing settings<\\
  64. #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.
  65. #define SMAA_MAX_SEARCH_STEPS 98 //[0:98] //-Determines the radius SMAA will search for aliased edges
  66. #define SMAA_MAX_SEARCH_STEPS_DIAG 16 //[0:16] //-Determines the radius SMAA will search for diagonal aliased edges
  67. #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.
  68. #define SMAA_ToggleKey RFX_ToggleKey //[undef] //-
  69.  
  70. //>Advanced SMAA settings<\\
  71. #define SMAA_EDGE_DETECTION 1 //[1|2|3] //-1 = Luma edge detection, 2 = Color edge detection, 3 = Depth edge detection
  72. #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.
  73.  
  74. //>SMAA Predication settings<\\
  75. #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.
  76. #define SMAA_PREDICATION_THRESHOLD 0.09 //[undef] //-Threshold to be used in the depth buffer.
  77. #define SMAA_PREDICATION_SCALE 1.0 //[undef] //-How much to scale the global threshold used for luma or color edge detection when using predication
  78. #define SMAA_PREDICATION_STRENGTH 20.4 //[undef] //-How much to locally decrease the threshold.
  79.  
  80. //>Debug SMAA settings<\\
  81. #define SMAA_DEBUG_OUTPUT 0 //[0:4] //-No description given
  82.  
  83.  
  84. ////--------//
  85. ///**FXAA**///
  86. //--------////
  87. #define USE_FXAA 1 //[FXAAWrap] //-FXAA Anti-aliasing : Smoothens jagged lines using the FXAA technique.
  88.  
  89. //>FXAA Anti-aliasing settings<\\
  90. #define FXAA_QUALITY__PRESET 9 //[1:9] //-Choose the quality preset. 9 is the highest quality.
  91. #define fxaa_Subpix 0.05 //[0.000:1.000] //-Choose the amount of sub-pixel aliasing removal. Higher values makes the image softer/blurrier.
  92. #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
  93. #define fxaa_EdgeThresholdMin 0.001 //[0.000:1.000] //-Darkness threshold. Pixels darker than this are not processed in order to increase performance.
  94. #define FXAA_ToggleKey RFX_ToggleKey //[undef] //-
Advertisement
Add Comment
Please, Sign In to add comment