Advertisement
Guest User

Untitled

a guest
Aug 21st, 2015
615
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.55 KB | None | 0 0
  1. TheLazyFrameworkEffectOrdering:Pipeline.cfg for Mediator v1.0
  2. /*----------------------------.
  3. | :: Effect Ordering :: |
  4. '----------------------------*/
  5. #include EFFECT(BasicFX, Util)
  6. #include EFFECT(CustomFX, Util)
  7. #include EFFECT(GemFX, Util)
  8. #include EFFECT(McFX, Util)
  9. #include EFFECT(SweetFX, Util)
  10. #include EFFECT(McFX, SSAO)
  11. #include EFFECT(McFX, DOF)
  12. #include EFFECT(CustomFX, Emboss)
  13. #include EFFECT(CustomFX, Deband)
  14. #include EFFECT(McFX, RBM)
  15. #include EFFECT(CustomFX, TiltShift)
  16. #include EFFECT(GemFX, AdvMotionBlur)
  17. #include EFFECT(GemFX, MotionBlur)
  18. #include EFFECT(GemFX, MotionFocus)
  19. #include EFFECT(GemFX, Bloom)
  20. #include EFFECT(SweetFX, Shared)
  21. #include EFFECT(GemFX, AmbientLight)
  22. #include EFFECT(McFX, HeatHaze)
  23. #include EFFECT(CustomFX, TuningPalette)
  24. #include EFFECT(SweetFX, Ascii)
  25. #include EFFECT(SweetFX, Cartoon)
  26. #include EFFECT(CustomFX, AdaptiveSharpen)
  27. #include EFFECT(SweetFX, LumaSharpen)
  28. #include EFFECT(SweetFX, SMAAWrap)
  29. #include EFFECT(SweetFX, Explosion)
  30. #include EFFECT(SweetFX, FXAAWrap)
  31. #include EFFECT(SweetFX, Bloom)
  32. #include EFFECT(SweetFX, HDR)
  33. #include EFFECT(SweetFX, CA)
  34. #include EFFECT(SweetFX, AdvancedCRT)
  35. #include EFFECT(SweetFX, PixelartCRT)
  36. #include EFFECT(SweetFX, LensDistortion)
  37. #include EFFECT(CustomFX, ColorCorrection)
  38. #include EFFECT(CustomFX, Cel)
  39. #include EFFECT(CustomFX, Gaussian)
  40. #include EFFECT(CustomFX, Paint)
  41. #include EFFECT(CustomFX, Custom)
  42. #include EFFECT(McFX, FishEyeCA)
  43. #include EFFECT(CustomFX, Gr8mmFilm)
  44. #include EFFECT(CustomFX, Grain)
  45. #include EFFECT(BasicFX, UIMask)
  46. #include EFFECT(BasicFX, Border)
  47. #include EFFECT(BasicFX, SplitScreen)
  48. #include EFFECT(BasicFX, DisplayDepth)
  49. #include EFFECT(SweetFX, Transition)
  50. TheLazyFrameworkSuiteName:BasicFX
  51.  
  52. ////----------//
  53. ///**UIMask**///
  54. //----------////
  55. #define USE_UIMask 0 //[UIMask] //-A mask that defines which areas of the screen will have no effects applied
  56.  
  57. //>UI Mask Settings<\\
  58. #define UIMask_Helper 1 //[0:1] //-Helps to automatically create a UI - Mask for static elements
  59. #define UIMask_Direct 1 //[0:1] //-1: loads the mask from memory; 0: loads the mask from disk
  60. #define UIMask_Tolerance 5 //[0|1|2|3|4|5] //-Defines the tolerance level of the algorithm when detecting UI elements
  61. #define UIMask_HelperKey VK_F12 //[undef] //-When pressed, starts to create a UI - Mask for static elements
  62. #define UIMaskReset_HelperKey VK_F11 //[undef] //-Resets the automatically created UI - Mask (press again to release)
  63. #define UIMask_ToggleKey RFX_ToggleKey //[undef] //-No description given
  64.  
  65.  
  66. ////----------//
  67. ///**Border**///
  68. //----------////
  69. #define USE_Border 0 //[Border] //-A mask that defines where a border effect is drawn
  70.  
  71. //>Border Shader Settings<\\
  72. #define Border_ToggleKey RFX_ToggleKey //[undef] //-Toggles the border shader
  73.  
  74.  
  75. ////---------------//
  76. ///**SplitScreen**///
  77. //---------------////
  78. #define USE_SplitScreen 0 //[SplitScreen] //-Allows the various comparisons with the original image
  79.  
  80. //>Split Screen Shader Settings<\\
  81. #define SScomparable 1 //[0:1] //-Splits the screen in the middle and draws the same image twice.
  82. #define SScomparableStretch 0 //[0:1] //-Shows the full image on each side of the comparable splitscreen
  83. #define SSslider 0 //[0:1] //-Activates an active transition between original and shader image
  84. #define SSsliderSpeed 0.01 //[0.00:1.00] //-Defines the speed of the transition
  85. #define SSaxis 0 //[0:1] //-To select the splitscreen axis; 0 => y; 1 => x
  86. #define SSborderWidth 0.002 //[0.000:1.000] //-Width of the border between original and shader image
  87. #define SS_ToggleKey VK_F12 //[undef] //-Toggles the split screen shader
  88.  
  89.  
  90. ////----------------//
  91. ///**DisplayDepth**///
  92. //----------------////
  93. #define USE_DisplayDepth 0 //[DisplayDepth] //-Display Depth : Enables the possibility to display the depth buffer - You will still need to toogle it on/off with (F12) in-game
  94.  
  95. //>Display Depth Settings<\\
  96. #define Depth_ToggleKey VK_F12 //[undef] //-Set the key to toggle the depth view On/Off
  97.  
  98. TheLazyFrameworkSuiteName:Common
  99.  
  100. ////----------//
  101. ///**GLOBAL**///
  102. //----------////
  103. //-Global Defines-//
  104.  
  105. //>Common Suite General Settings<\\
  106. //-Commentary:Welcome to the ReShade Framework.\nThe Common Suite contains all globally used values. For more information visit http://reshade.me/forum/shaderpack-framework.
  107.  
  108. //>User<\\
  109. #define RFX_Start_Enabled 1 //[0:1] //-Start with the effects enabled or disabled?
  110. #define RFX_Screenshot_Format 2 //[1:2] //-Sets the screenshot format (1 = bmp, 2 = png) You can take screenshots by pressing PrintScreen
  111. #define RFX_ShowToggleMessage 0 //[0:1] //-Display a toggle message when using toggle key.
  112. #define RFX_ToggleKey VK_SCROLL //[undef] //-Set the global key that should toggle the effects On/Off. Go to ReShade/Common/KeyCodes.h for additional key codes.
  113.  
  114. //>Core<\\
  115. #define RFX_InitialStorage 1 //[0:1] //-Set this to 0 if you !only! use the SweetFX suite and want some additional fps.
  116. #define RFX_DepthBufferCalc 1 //[0:1] //-Set this to 0 if run an application that does not allow depth buffer access or you use no depth dependent effects and want some additional fps.
  117.  
  118. //>Statistics<\\
  119. #define RFX_ShowFPS 0 //[0:1] //-Controls the display of the FPS counter.
  120. #define RFX_ShowClock 0 //[0:1] //-Controls the display of the realtime clock.
  121. #define RFX_ShowStatistics 0 //[0:1] //-Controls the display of the detailed developer statistics.
  122.  
  123. //>Depth Settings<\\
  124. #define RFX_LogDepth 0 //[0:1] //-Needed to retrieve values from logarithmic depth buffer (e.g. in GTA V).
  125. #define RFX_Depth_z_near 0.001 //[undef] //-Camera z near
  126. #define RFX_Depth_z_far 1.0 //[undef] //-Camera z far, must be further than the near value.
  127.  
  128. TheLazyFrameworkSuiteName:CustomFX
  129.  
  130. ////----------//
  131. ///**GLOBAL**///
  132. //----------////
  133. //-Global Defines-//
  134.  
  135. //>CustomFX Suite General Settings<\\
  136. //-Commentary:The Custom Suite contains various distinct shader.\nBeginning from Technicolor, all following shader are grouped to together under the ColorCorrection set.
  137. #define ColorCorrection_ToggleKey RFX_ToggleKey //[undef] //-
  138.  
  139.  
  140. ////----------//
  141. ///**CUSTOM**///
  142. //----------////
  143. #define USE_CUSTOM 0 //[Custom] //-
  144.  
  145. //>Custom Shader General Settings<\\
  146. //-Commentary:This shader is not doing anything but a starting point for new shader developers.
  147. #define val1 0.00 //[0.00:1.00] //-...
  148. #define val2 1.00 //[0.00:1.00] //-...
  149. #define Custom_ToggleKey RFX_ToggleKey //[undef] //-
  150.  
  151.  
  152. ////-------//
  153. ///**CEL**///
  154. //-------////
  155. #define USE_CEL 0 //[Cel] //-Cel : Creates an outline on objects, similar to Borderlands' cel shading effect. Requires depth buffer to work.
  156.  
  157. //>Cel Settings<\\
  158. #define CelAccuracy 10.0 //[0.0:100.0] //-Accuracy or amount of Cel shading.
  159. #define Cel_ToggleKey RFX_ToggleKey //[undef] //-
  160.  
  161.  
  162. ////----------//
  163. ///**DEBAND**///
  164. //----------////
  165. #define USE_DEBAND 1 //[Deband] //-Applies debanding to minimize banding artifacts
  166.  
  167. //>Deband Settings<\\
  168. #define DEBAND_RADIUS 2.0 //[0.0:1024.0] //-Sampling radius, higher values will reduce further banding but might also reduce details
  169. #define DEBAND_THRESHOLD 0.015 //[0.000:0.100] //-Threshold, higher values will reduce further banding but might also reduce details and increase noise
  170. #define DEBAND_SAMPLE_COUNT 8 //[1:8] //-Sample count, higher values are better
  171. #define DEBAND_OFFSET_MODE 3 //[1:3] //-1 = cross (axis aligned, fast), 2 = diagonal (45 degrees, slower), 3 = box (fully random, much slower)
  172. #define DEBAND_DITHERING 1 //[0:3] //-Additional dithering options to smoothen the output. 0 = No dithering 1 = Ordered dithering, 2 = Random dithering, 3 = Iestyn's RGB dither (Valve)
  173.  
  174. //>Deband debug settings<\\
  175. #define DEBAND_SKIP_THRESHOLD_TEST 0 //[0:1] //-1 = Skip threshold to see the unfiltered sampling pattern
  176. #define DEBAND_OUTPUT_BOOST 1.0 //[-2.0:2.0] //-Default = 1.0. Any value other than the default activates debug mode. When fine-tuning the values you might use both these settings to boost luminance, which should make it easier to see banding artifacts.
  177. #define DEBAND_OUTPUT_OFFSET 0.0 //[-1.0:3.0] //-Default = 0.0. Any value other than the default activates debug mode. When fine-tuning the values you might use both these settings to boost luminance, which should make it easier to see banding artifacts.
  178. #define Deband_ToggleKey RFX_ToggleKey //[undef] //-
  179.  
  180.  
  181. ////---------//
  182. ///**PAINT**///
  183. //---------////
  184. #define USE_PAINT 0 //[Paint] //-Gives the image a painty look
  185.  
  186. //>Paint Settings<\\
  187. #define PaintRadius 7 //[0:64] //-Amount of effect. Higher values require more performance.
  188. #define PaintMethod 0 //[0:1] //-The algorithm used for paint effect. 0 = kingeric1992's paint effect, 1 = Basic kuwahara filtering
  189. #define Paint_ToggleKey RFX_ToggleKey //[undef] //-
  190.  
  191.  
  192. ////-------------------//
  193. ///**ADAPTIVESHARPEN**///
  194. //-------------------////
  195. #define USE_ADAPTIVESHARPEN 0 //[AdaptiveSharpen] //-Adaptive sharpen shader by bacondither. For more information: http://forum.doom9.org/showthread.php?t=172131
  196.  
  197. //>Adaptive Sharpen Settings<\\
  198. #define curve_height 1.00 //[0.15:3.0] //-Main sharpening strength.
  199.  
  200. //>Advanced Adaptive Sharpen Settings<\\
  201. //-Commentary:Defined values under this row are "optimal". Do not change if you do not know what you are doing.
  202. #define video_level_out 0 //[0:1] //-(MPC-HC and MPDN specific) True to preserve BTB & WTW (minor summation error). Normally it should be set to false (0).
  203. #define curveslope (curve_height*1.5) //[undef] //-Sharpening curve slope, edge region.
  204. #define D_overshoot 0.016 //[undef] //-Max dark overshoot before max compression.
  205. #define D_comp_ratio 0.250 //[undef] //-Max compression ratio, dark overshoot (1/0.25=4x).
  206. #define L_overshoot 0.004 //[undef] //-Max light overshoot before max compression.
  207. #define L_comp_ratio 0.167 //[undef] //-Max compression ratio, light overshoot (1/0.167=6x).
  208. #define max_scale_lim 10.0 //[undef] //-Abs change before max compression (1/10=?10%).
  209. #define AdaptiveSharpen_ToggleKey RFX_ToggleKey //[undef] //-
  210.  
  211.  
  212. ////---------//
  213. ///**GAUSS**///
  214. //---------////
  215. #define USE_GAUSS 0 //[Gaussian] //-Gaussian Blur / Bloom / Unsharpmask
  216.  
  217. //>Gaussian Blur / Unsharpmask Settings<\\
  218. #define Use_GaussianBlur 1 //[0:1] //-0 = off, 1 = on. Blurs the image
  219. #define BlurStrength 0.13 //[0.00:1.00] //-Strength of the blur effect
  220. #define Use_Unsharpmask 1 //[0:1] //-0 = off, 1 = on. Sharpens the image
  221. #define SharpStrength 0.05 //[0.00:1.00] //-Strength of the sharpening effect
  222. #define GaussSigma 1 //[1|2|3|4] //-Makes the blur and sharpening radius wider. Only works when GaussQuality is set to 1 or higher.
  223. #define GaussQuality 1 //[0:12] //-Higher #'s = more blur passes for Blur and Unsharp Mask (Higher performance cost).
  224.  
  225. //>Gaussian Bloom Settings<\\
  226. #define Use_GaussianBloom 1 //[0:1] //-0 = off, 1 = on.
  227. #define BloomStrength 0.46 //[0.00:1.00] //-Amount of bloom effect added to the image.
  228. #define GaussBloomWarmth 2 //[0|1|2] //-0 = neutral, 1 = warm, 2 = hazy/foggy
  229. #define GaussThreshold 0.504 //[0.000:1.000] //-Threshold for what is considered a bright light. Lower #'s = brighter
  230. #define GaussExposure 43.70 //[0.00:100.00] //-Exposure of the effect. Lower #'s = brighter
  231. #define BloomSigma 4 //[1|2|3|4] //-Makes the bloom radius wider. Only works when BloomQuality is set to 1 or higher.
  232. #define BloomRed 1.00 //[0.00:2.00] //-Adds a RED tint to bloom. #'s < 1.00 add color, #'s > 1.00 remove color.
  233. #define BloomGreen 1.00 //[0.00:2.00] //-Adds a GREEN tint to bloom. #'s < 1.00 add color, #'s > 1.00 remove color.
  234. #define BloomBlue 1.00 //[0.00:2.00] //-Adds a BLUE tint to bloom. #'s < 1.00 add color, #'s > 1.00 remove color.
  235. #define GaussBloomQuality 4 //[0:12] //-Higher #'s = more blur passes
  236.  
  237. //>Performance and Misc Options<\\
  238. #define GaussTexScale 0 //[0|1|2] //-0 = Off, 1 = 1/2 Resolution, 2 = 1/4 Resolution. Reduces performance cost. Works best with Quality settings > 1.
  239. #define BloomTexScale 2 //[0|1|2] //-0 = Off, 1 = 1/2 Resolution, 2 = 1/4 Resolution. Reduces performance cost. Works best with Quality settings > 1.
  240. #define Gaussian_ToggleKey RFX_ToggleKey //[undef] //-
  241.  
  242.  
  243. ////-------------//
  244. ///**TILTSHIFT**///
  245. //-------------////
  246. #define USE_TILTSHIFT 0 //[TiltShift] //-TiltShift effect based of GEMFX
  247.  
  248. //>TiltShift Settings<\\
  249. #define TiltShiftPower 5.0 //[0.0:100.0] //-Amount of blur applied to the screen edges
  250. #define TiltShiftCurve 3.0 //[0.0:10.0] //-Defines the sharp focus / blur radius
  251. #define TiltShiftOffset -0.6 //[-5.0:5.0] //-Defines the sharp focus aligned to the y-axis
  252. #define TiltShift_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  253. #define TiltShift_ToggleKey VK_SPACE //[undef] //-
  254.  
  255.  
  256. ////-----------------//
  257. ///**TUNINGPALETTE**///
  258. //-----------------////
  259. #define USE_TUNINGPALETTE 0 //[TuningPalette] //-Allows to use color maps (like in ENB) or color palettes
  260.  
  261. //>Tuning Palette Settings General<\\
  262. #define TuningColorPalette 0 //[0:1] //-ColorPalette
  263. #define TuningColorMap 0 //[0:1] //-ColorMap
  264. #define TuningColorLUT 1 //[0:1] //-ColorLUT
  265. #define TuningPaletteDependency 0 //[0:1] //-0: PixelColor; 1: PixelBrightness (0 is recommended for the ColorPalette effect)
  266. #define TuningPalettePower 0.075 //[0.000:1.000] //-Strength of the Tuning Palette effect
  267. #define TuningPalette_ToggleKey RFX_ToggleKey //[undef] //-No description given
  268.  
  269. //>Color Palette Parameters<\\
  270. #define TuningColorPaletteSmoothMix 0.3 //[0.0:1.0] //-Amount of smooth integration into original image
  271. #define TuningTileAmountX 5 //[1:16] //-Amount of tiles the selected palette has on the X-axis
  272. #define TuningTileAmountY 1 //[1:16] //-Amount of tiles the selected palette has on the Y-axis
  273. #define TuningColorPaletteTexture "CFX_vintage.png" //[undef] //-Define the color palette for palette effect (e.g. CFX_quake.png, CFX_vintage.png)
  274. #define TuningColorPalettePower 1/float3(1.0,1.0,1.0) //[undef] //-Defines the impact of red, green and blue when applying palette colors
  275.  
  276. //>Color Map Parameters<\\
  277. #define TuningColorMapTexture "CFX_TuningPalette.bmp" //[undef] //-needs to have 256x256 pixels
  278.  
  279. //>Color LUT Settings<\\
  280. #define TuningColorLUTIntensity 1.00 //[0.00:1.00] //-Intensity of the effect overlay
  281. #define TuningColorLUTDstTexture "CFX_ColorLUTDst.png" //[undef] //-Needs to have 256x16 pixels
  282. #define TuningColorLUTTileAmountX 256 //[undef] //-LUT Width
  283. #define TuningColorLUTTileAmountY 16 //[undef] //-LUT Height
  284.  
  285.  
  286. ////-------------//
  287. ///**GR8MMFILM**///
  288. //-------------////
  289. #define USE_GR8MMFILM 0 //[Gr8mmFilm] //-Applies cutomized 8mm film overlays
  290.  
  291. //>Gr8mm Film Settings<\\
  292. #define Gr8mmFilmTileAmount 7.0 //[2.0:20.0] //-Amount of frames used in the Gr8mmFilm.png
  293. #define Gr8mmFilmPower 0.95 //[0.00:1.00] //-Overall intensity of the effect
  294. #define Gr8mmFilmVignettePower 1.0 //[0.0:2.0] //-Strength of the effect at the edges
  295. #define Gr8mmFilmAlphaPower 1.2 //[0.0:2.0] //-Takes gradients into account (white => transparent)
  296. #define Gr8mmFilmBlackFrameMix 0 //[0:1] //-0: Adds a black frame into the mix; 1: No black frame added
  297. #define Gr8mmFilmScroll 0 //[0:1] //-0: Jumps from frame to frame; 1: Scrolls from frame to frame
  298. #define Gr8mmFilmTexture "CFX_Gr8mmFilm.png" //[undef] //-Defines the texture which contains the single frames
  299. #define Gr8mmFilmTextureSizeX 1280 //[undef] //-Size of the defined texture (Width)
  300. #define Gr8mmFilmTextureSizeY 5040 //[undef] //-Size of the defined texture (Height)
  301. #define Gr8mmFilm_ToggleKey RFX_ToggleKey //[undef] //-No description given
  302.  
  303.  
  304. ////---------//
  305. ///**GRAIN**///
  306. //---------////
  307. #define USE_GRAIN 0 //[Grain] //-Adds an active graininess to the image. Helps with banding and can add the illusion of detail
  308.  
  309. //>Film Grain Settings<\\
  310. //-Commentary:This Martins improved Film Grain shader (http://devlog-martinsh.blogspot.com) which was ported by Alo81.
  311. #define GrainPower 0.03 //[0.00:1.00] //-Intensity of applied grain
  312. #define GrainColored 0 //[0:1] //-Whether grain should be colored or not. Colored grain is not as noticeable, so it helps to increase grain power.
  313. #define GrainColorAmount 1.00 //[0.00:1.00] //-Amount of color to add to grain
  314. #define GrainSize 1.50 //[1.25:2.50] //-Size of individual pieces of grain. Below 1.25 the pattern becomes noticeable.
  315. #define GrainLuma 0.80 //[0.00:1.00] //-Grain brightness. 0 makes grain not visible.
  316. #define Grain_ToggleKey RFX_ToggleKey //[undef] //-No description given
  317.  
  318.  
  319. ////----------//
  320. ///**EMBOSS**///
  321. //----------////
  322. #define USE_EMBOSS 0 //[Emboss] //-Gives the image a painty look
  323.  
  324. //>Emboss Settings<\\
  325. #define bEmbossDoDepthCheck 1 //[0:1] //-EXPERIMENTAL! If enabled, shader compares emboss samples depth to avoid artifacts at object borders.
  326. #define fEmbossDepthCutoff 0.0001 //[0.0001:0.0100] //-Preserves object edges from getting artifacts. If pixel depth difference of emboss samples is higher than that, pixel gets skipped.
  327. #define fEmbossPower 0.666 //[0.100:2.000] //-Amount of embossing.
  328. #define fEmbossOffset 2.0 //[0.5:5.0] //-Pixel offset for embossing.
  329. #define iEmbossAngle 90.00 //[0.00:360.00] //-Pixel offset angle for embossing.
  330. #define Emboss_ToggleKey RFX_ToggleKey //[undef] //-
  331.  
  332.  
  333. ////-------//
  334. ///**LUT**///
  335. //-------////
  336. #define USE_LUT 0 //[ColorCorrection] //-Color Lookup Table: Uses a gradient texture to adjust the colors of the image.
  337.  
  338.  
  339. ////---------------//
  340. ///**TECHNICOLOR**///
  341. //---------------////
  342. #define USE_TECHNICOLOR 0 //[ColorCorrection] //-Technicolor : Attempts to mimic the look of an old movie using the Technicolor three-strip color process. Algorithm from prod80
  343.  
  344. //>Technicolor Settings<\\
  345. #define ColStrengthR 0.20 //[0.05:1.00] //-Color Strength of Red channel. Higher means darker and more intense colors.
  346. #define ColStrengthG 0.20 //[0.05:1.00] //-Color Strength of Green channel. Higher means darker and more intense colors.
  347. #define ColStrengthB 0.20 //[0.05:1.00] //-Color Strength of Blue channel. Higher means darker and more intense colors.
  348. #define TechniBrightness 1.0 //[0.5:1.5] //-Brightness Adjustment, higher means brighter image.
  349. #define TechniStrength 1.0 //[0.0:1.0] //-Strength of Technicolor effect. 0.0 means original image.
  350. #define TechniSat 0.7 //[0.0:1.5] //-Additional saturation control since technicolor tends to oversaturate the image.
  351.  
  352.  
  353. ////-----------------//
  354. ///**SKYRIMTONEMAP**///
  355. //-----------------////
  356. #define USE_SKYRIMTONEMAP 0 //[ColorCorrection] //-Skyrim Tonemap: Applies color correction/tonemapping based on tonemappers of popular Skyrim ENB's.
  357.  
  358. //>Skyrim Tonemap Settings<\\
  359. #define POSTPROCESS 6 //[1:6] //-Mode of postprocessing you want. Mode 1 uses V1 values, Mode 2 uses V2 values etc
  360.  
  361. //>Skyrim Tonemap Settings<\\
  362. #define EAdaptationMinV1 0.05 //[0.00:1.00] //-
  363. #define EAdaptationMaxV1 0.125 //[0.000:1.000] //-
  364. #define EContrastV1 1.00 //[0.00:1.00] //-
  365. #define EColorSaturationV1 1.00 //[0.00:1.00] //-
  366. #define EToneMappingCurveV1 6.00 //[0.00:100.00] //-
  367.  
  368. //>Skyrim Tonemap Settings<\\
  369. #define EAdaptationMinV2 0.36 //[0.00:1.00] //-
  370. #define EAdaptationMaxV2 0.29 //[0.00:1.00] //-
  371. #define EToneMappingCurveV2 8.00 //[0.00:100.00] //-
  372. #define EIntensityContrastV2 2.50 //[0.00:100.00] //-
  373. #define EColorSaturationV2 3.20 //[0.00:100.00] //-
  374. #define EToneMappingOversaturationV2 180.00 //[0.00:1000.00] //-
  375.  
  376. //>Skyrim Tonemap Settings<\\
  377. #define EAdaptationMinV3 0.001 //[0.000:1.000] //-
  378. #define EAdaptationMaxV3 0.025 //[0.000:1.000] //-
  379. #define EToneMappingCurveV3 30.00 //[0.00:100.00] //-
  380. #define EToneMappingOversaturationV3 111160.00 //[0.00:1000000.00] //-
  381.  
  382. //>Skyrim Tonemap Settings<\\
  383. #define EAdaptationMinV4 0.20 //[0.00:1.00] //-
  384. #define EAdaptationMaxV4 0.125 //[0.000:1.000] //-
  385. #define EBrightnessCurveV4 0.70 //[0.00:1.00] //-
  386. #define EBrightnessMultiplierV4 0.45 //[0.00:1.00] //-
  387. #define EBrightnessToneMappingCurveV4 0.30 //[0.00:1.00] //-
  388.  
  389. //>Skyrim Tonemap Settings<\\
  390. #define EAdaptationMinV5 0.08 //[0.00:1.00] //-
  391. #define EToneMappingCurveV5 8.00 //[0.00:100.00] //-
  392. #define EIntensityContrastV5 3.475 //[0.000:100.000] //-
  393. #define EColorSaturationV5 4.00 //[0.00:100.00] //-
  394. #define HCompensateSatV5 2.00 //[0.00:100.00] //-
  395. #define EToneMappingOversaturationV5 180.00 //[0.00:1000.00] //-
  396.  
  397. //>Skyrim Tonemap Settings<\\
  398. #define EBrightnessV6Day 2.50 //[0.00:100.00] //-
  399. #define EIntensityContrastV6Day 1.50 //[0.00:100.00] //-
  400. #define EColorSaturationV6Day 2.00 //[0.00:100.00] //-
  401. #define HCompensateSatV6Day 3.00 //[0.00:100.00] //-
  402. #define EAdaptationMinV6Day 0.64 //[0.00:1.00] //-
  403. #define EAdaptationMaxV6Day 0.24 //[0.00:1.00] //-
  404. #define EToneMappingCurveV6Day 8.00 //[0.00:100.00] //-
  405. #define EToneMappingOversaturationV6Day 2500.00 //[0.00:10000.00] //-
  406.  
  407.  
  408. ////-------------//
  409. ///**COLORMOOD**///
  410. //-------------////
  411. #define USE_COLORMOOD 0 //[ColorCorrection] //-Color Mood: Applies a "mood" to the color, tinting mainly the dark colors.
  412.  
  413. //>ColorMood Settings<\\
  414. #define fRatio 0.40 //[0.00:3.00] //-Amount of moody coloring you want
  415. #define moodR 1.0 //[0.0:2.0] //-How strong dark red colors shall be boosted
  416. #define moodG 1.1 //[0.0:2.0] //-How strong dark green colors shall be boosted
  417. #define moodB 0.5 //[0.0:2.0] //-How strong dark blue colors shall be boosted
  418.  
  419.  
  420. ////----------------//
  421. ///**CROSSPROCESS**///
  422. //----------------////
  423. #define USE_CROSSPROCESS 0 //[ColorCorrection] //-Cross Processing: Simulates wrong chemistry in color processing.
  424.  
  425. //>CrossProcess Settings<\\
  426. #define CrossContrast 0.95 //[0.50:2.00] //-The names of these values should explain their functions
  427. #define CrossSaturation 1.12 //[0.50:2.00] //-
  428. #define CrossBrightness -0.052 //[-1.000:1.000] //-[-0.300 to 0.300]
  429. #define CrossAmount 1.00 //[0.05:1.50] //-
  430.  
  431.  
  432. ////------------//
  433. ///**REINHARD**///
  434. //------------////
  435. #define USE_REINHARD 0 //[ColorCorrection] //-Reinhard: This is the Reinhard tonemapping shader, if you are interested, google how it works.
  436.  
  437. //>Reinhard Tonemap Settings<\\
  438. #define ReinhardWhitepoint 4.0 //[1.0:10.0] //-Point above which everything is pure white
  439. #define ReinhardScale 0.5 //[0.0:2.0] //-Amount of applied tonemapping
  440.  
  441.  
  442. ////------------//
  443. ///**COLORMOD**///
  444. //------------////
  445. #define USE_COLORMOD 0 //[ColorCorrection] //-Colormod: Contrast, Saturation and Brightness ported from colormod.asi.
  446.  
  447. //>ColorMod Settings<\\
  448. #define ColormodChroma 0.78 //[-1.00:2.00] //-Saturation
  449. #define ColormodGammaR 1.05 //[-1.00:2.00] //-Gamma for Red color channel
  450. #define ColormodGammaG 1.05 //[-1.00:2.00] //-Gamma for Green color channel
  451. #define ColormodGammaB 1.05 //[-1.00:2.00] //-Gamma for Blue color channel
  452. #define ColormodContrastR 0.50 //[-1.00:2.00] //-Contrast for Red color channel
  453. #define ColormodContrastG 0.50 //[-1.00:2.00] //-Contrast for Green color channel
  454. #define ColormodContrastB 0.50 //[-1.00:2.00] //-Contrast for Blue color channel
  455. #define ColormodBrightnessR -0.08 //[-1.00:2.00] //-Brightness for Red color channel
  456. #define ColormodBrightnessG -0.08 //[-1.00:2.00] //-Brightness for Green color channel
  457. #define ColormodBrightnessB -0.08 //[-1.00:2.00] //-Brightness for Blue color channel
  458.  
  459.  
  460. ////--------------------//
  461. ///**SPHERICALTONEMAP**///
  462. //--------------------////
  463. #define USE_SPHERICALTONEMAP 0 //[ColorCorrection] //-Spherical Tonemap: Another approach on tonemapping, uses some sphere algorithms.
  464.  
  465. //>Spherical Tonemap Settings<\\
  466. #define sphericalAmount 1.0 //[0.0:2.0] //-Amount of spherical tonemapping applied...sort of
  467.  
  468.  
  469. ////-------//
  470. ///**HPD**///
  471. //-------////
  472. #define USE_HPD 0 //[ColorCorrection] //-Haarm Peter Duiker Filmic Tonemapping: Tonemapping used in Watch Dogs, ripped from the Watch Dogs shaders themselves.
  473.  
  474.  
  475. ////---------------//
  476. ///**FILMICCURVE**///
  477. //---------------////
  478. #define USE_FILMICCURVE 0 //[ColorCorrection] //-Filmic Curve: Improved version of the well-known Uncharted 2 filmic curve, first seen in iCEnhancer 0.3.
  479.  
  480.  
  481. ////--------------------//
  482. ///**WATCHDOG_TONEMAP**///
  483. //--------------------////
  484. #define USE_WATCHDOG_TONEMAP 0 //[ColorCorrection] //-Watch Dogs Tonemap: Enables one of the numerous watch dogs tonemapping algorithms. No tweaking values.
  485.  
  486.  
  487. ////-----------//
  488. ///**SINCITY**///
  489. //-----------////
  490. #define USE_SINCITY 0 //[ColorCorrection] //-Sin City: Effect from the movie "Sin City" - everything else than red is grey.
  491.  
  492.  
  493. ////--------------//
  494. ///**COLORHUEFX**///
  495. //--------------////
  496. #define USE_COLORHUEFX 0 //[ColorCorrection] //--Color Hue FX: Desaturates everything but colors from a fixed hue mid and the range around it. Similiar to Sin City but much better. Thanks, prod80!
  497.  
  498. //>ColorHueFX Settings <\\
  499. #define Use_COLORSAT 0 //[0:1] //-This will use original color saturation as an added limiter to the strength of the effect
  500. #define hueMid 0.6 //[0.0:1.0] //-Hue (rotation around the color wheel) of the color which you want to keep
  501. #define hueRange 0.1 //[0.0:1.0] //-Range of different hue's around the hueMid that will also kept. Using a max range of 1.0 will allow the reverse of the effect where it will only filter a specific hue to B&W
  502. #define satLimit 2.9 //[0.0:4.0] //-Saturation control, better keep it higher than 0 for strong colors in contrast to the gray stuff around
  503. #define fxcolorMix 0.8 //[0.0:1.0] //-Interpolation between the original and the effect, 0 means full original image, 1 means full grey-color image.
  504.  
  505. TheLazyFrameworkSuiteName:GemFX
  506.  
  507. ////----------//
  508. ///**GLOBAL**///
  509. //----------////
  510. //-Global Defines-//
  511.  
  512. //>GemFX Suite General Settings<\\
  513. //-Commentary:The GemFX Suite contains various lightning and motion shader. (Adv) Motion Blur, Motion Focus and Ambient Light are GEMFX shader. Beginning from Bloom, all following shader are derived from MasterEffect.
  514.  
  515.  
  516. ////---------------//
  517. ///**MOTION_BLUR**///
  518. //---------------////
  519. #define USE_MOTION_BLUR 0 //[MotionBlur] //-Motion Blur: Cheap pseudo mution blur
  520.  
  521. //>Motion Blur Settings<\\
  522. #define mbRecall 0.40 //[0.00:1.00] //-Motion blur intensity
  523. #define mbSoftness 1.00 //[0.00:2.00] //-Blur strength of consequential streaks
  524. #define MotionBlur_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  525. #define MotionBlur_ToggleKey RFX_ToggleKey //[undef] //-
  526.  
  527.  
  528. ////-------------------//
  529. ///**ADV_MOTION_BLUR**///
  530. //-------------------////
  531. #define USE_ADV_MOTION_BLUR 0 //[AdvMotionBlur] //-Advanced Motion Blur: More accurate and advanced motion blur.
  532.  
  533. //>Advanced Motion Blur Settings<\\
  534. #define ambDepth_Check 0 //[0:1] //-Depth dependent motion blur
  535. #define ambDepthRatio 0.7 //[0.0:1.0] //-Amount of addition MB due to distance; Lower Value => Higher Amount
  536. #define ambRecall 0.4 //[0.0:1.0] //-Increases detection level of relevant smart motion blur
  537. #define ambPrecision 0.0 //[0.0:1.0] //-Increases relevance level of detected smart motion blur
  538. #define ambSoftness 3.5 //[0.0:10.0] //-Softness of consequential streaks
  539. #define ambSmartMult 3.5 //[0.0:10.0] //-Multiplication of relevant smart motion blur
  540. #define ambIntensity 0.07 //[0.00:1.00] //-Intensity of base motion blur effect
  541. #define ambSmartInt 0.94 //[0.00:1.00] //-Intensity of smart motion blur effect
  542. #define AdvancedMB_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  543. #define AdvancedMB_ToggleKey RFX_ToggleKey //[undef] //-No description given
  544.  
  545.  
  546. ////----------------//
  547. ///**MOTION_FOCUS**///
  548. //----------------////
  549. #define USE_MOTION_FOCUS 0 //[MotionFocus] //-Smart movement of the camera following motion on the screen for a cinematic look
  550.  
  551. //>Motion Focus<\\
  552. #define mfDebug 0 //[0:1] //-Activates debug mode of MF, top 4 bars show motion in each screen section, the center points show strength and direction of zoom
  553. #define mfFocusStrength 1.00 //[0.00:1.00] //-The intensity with which the camera will follow motion
  554. #define mfZoomStrength 0.60 //[0.00:1.00] //-The intensity of camera zoom to objects in motion
  555. #define MotionFocus_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  556. #define MotionFocus_ToggleKey RFX_ToggleKey //[undef] //-
  557.  
  558.  
  559. ////-----------------//
  560. ///**AMBIENT_LIGHT**///
  561. //-----------------////
  562. #define USE_AMBIENT_LIGHT 0 //[AmbientLight] //-Ambient Light: Adds scene dependent ambient light with specific dirt and lens effects
  563.  
  564. //>Ambient Light Settings<\\
  565. #define alDebug 0 //[0:1] //-Activates debug mode of AL, upper bar shows detected light, lower bar shows adaptation
  566. #define alInt 10.15 //[0.00:20.00] //-Base intensity of AL
  567. #define alThreshold 15.00 //[0.00:100.00] //-Reduces intensity for not bright light
  568.  
  569. //>AL Adaptation Parameters<\\
  570. #define AL_Adaptation 1 //[0:1] //-Activates adaptation algorithm for the following features
  571. #define AL_HQAdapt 0 //[0:1] //-Determines the accuracy of the adaptation algorithm
  572. #define alAdapt 0.70 //[0.00:4.00] //-Intensity of AL correction for bright light
  573. #define alAdaptBaseMult 1.00 //[0.00:4.00] //-Multiplier for adaption applied to the original image
  574. #define alAdaptBaseBlackLvL 2 //[0|1|2|3|4] //-Distinction level of black and white (lower => less distinct)
  575. #define alAdaptBloomMult 1.0 //[0.0:4.0] //-Multiplier for adaption applied to the bloom shader
  576. #define alAdaptFlareMult 3.0 //[0.0:4.0] //-Multiplier for adaption applied to the anam flare shader
  577. #define AL_HeatHazeControle 1 //[0:1] //-Controles the HeatHaze effect with the AL shader
  578. #define Depth_HeatHazeControle 1 //[0:1] //-Controles the HeatHaze effect with the depth buffer
  579. #define alAdaptHeatMult 1.0 //[0.0:1.0] //-Multiplier for adaption applied to the HeatHaze shader
  580.  
  581. //>Additional AL Settings<\\
  582. #define AL_Dirt 1 //[0:1] //-No description given
  583. #define AL_DirtTex 0 //[0:1] //-Defines if dirt texture is used as overlay
  584. #define AL_Vibrance 0 //[0:1] //-Vibrance of dirt effect
  585. #define AL_Adaptive 0 //[0|1|2] //-0 = Warm, 1 = Cold, 2 = Light Dependent
  586. #define alDirtInt 1.0 //[0.0:2.0] //-Intensity of dirt effect
  587. #define alDirtOVInt 1.0 //[0.0:2.0] //-Intensity of colored dirt effect
  588. #define AL_Lens 0 //[0:1] //-Lens effect based on AL
  589. #define alLensThresh 0.5 //[0.0:1.0] //-Reduces intensity of lens effect for not bright light
  590. #define alLensInt 2.0 //[0.0:10.0] //-Intensity of lens effect
  591. #define AmbientLight_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  592.  
  593. //>Additional AL Settings<\\
  594. #define AmbientLight_ToggleKey RFX_ToggleKey //[undef] //-
  595.  
  596.  
  597. ////---------//
  598. ///**BLOOM**///
  599. //---------////
  600. #define USE_BLOOM 0 //[Bloom] //-Bloom, based on MasterEffects & asmodean bloom
  601.  
  602. //>Bloom Settings<\\
  603. #define GFX_HDR_MODE 2 //[0|1|2] //-HDR Level Rendering bitrate. 0 = RGBA8, 1 = RGBA16F, 2 = RGBA32F
  604. #define BLOOM_MIXMODE 2 //[1|2|3|4] //-1 = Linear add | 2 = Screen add | 3 = Screen/Lighten/Opacity | 4 = Lighten
  605. #define fBloomThreshold 1.0 //[0.1:1.0] //-Every pixel brighter than this value triggers bloom.
  606. #define fBloomAmount 7.0 //[0.0:20.0] //-Intensity of bloom.
  607. #define fBloomSaturation 0.1 //[0.0:2.0] //-Bloom saturation. 0.0 means white bloom, 2.0 means very very colorful bloom.
  608. #define fBloomTint float3(0.2,0.2,0.2) //[0.0:1.0] //-R, G and B components of bloom tintcolor the bloom color gets shifted to. X = Red, Y = Green, Z = Blue.
  609. #define Bloom_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  610. #define Bloom_ToggleKey RFX_ToggleKey //[undef] //-Toggle key for Bloom and Bloom dependent shaders.
  611.  
  612.  
  613. ////------------//
  614. ///**LENSDIRT**///
  615. //------------////
  616. #define USE_LENSDIRT 0 //[Bloom] //-Lensdirt: Simulates a dirty camera lens. IMPORTANT: bloom threshold and amount have influence on the intensity of the dirt!
  617.  
  618. //>Lens Dirt Settings<\\
  619. #define fLensdirtIntensity 0.4 //[0.0:2.0] //-Intensity of lensdirt.
  620. #define fLensdirtSaturation 2.0 //[0.0:2.0] //-Color saturation of lensdirt.
  621. #define fLensdirtTint float3(1.0,1.0,1.0) //[0.0:1.0] //-R, G and B components of lensdirt tintcolor the lensdirt color gets shifted to. X = Red, Y = Green, Z = Blue.
  622. #define iLensdirtMixmode 1 //[1:4] //-1: Linear add | 2: Screen add | 3: Screen/Lighten/Opacity | 4: Lighten
  623. #define lensDirtTex "GFX_origdirt.png" //[undef] //-
  624.  
  625.  
  626. ////----------------------//
  627. ///**GAUSSIAN_ANAMFLARE**///
  628. //----------------------////
  629. #define USE_GAUSSIAN_ANAMFLARE 0 //[Bloom] //-Gaussian Anamflare: Applies a horizontal light beam to bright pixels.
  630.  
  631. //>Gaussian Anamorphic Lens Flare Settings<\\
  632. #define fAnamFlareThreshold 0.90 //[0.10:1.00] //-Every pixel brighter than this value gets a flare.
  633. #define fAnamFlareWideness 2.4 //[1.0:2.5] //-Horizontal wideness of flare. Don't set too high, otherwise the single samples are visible
  634. #define fAnamFlareAmount 14.5 //[1.0:20.0] //-Intensity of anamorphic flare.
  635. #define fAnamFlareCurve 1.2 //[1.0:2.0] //-Intensity curve of flare with distance from source
  636. #define fAnamFlareColor float3(0.012,0.313,0.588) //[0.000:1.000] //-R, G and B components of anamorphic flare. Flare is always same color.
  637.  
  638.  
  639. ////-------------//
  640. ///**LENZFLARE**///
  641. //-------------////
  642. #define USE_LENZFLARE 0 //[Bloom] //-Lenz Flare: Boris Vorontsov's Skyrim Lensflare with custom offsets, ported to MasterEffect.
  643.  
  644. //>Lenz Flare Settings<\\
  645. #define LENZ_DEPTH_CHECK 1 //[0:1] //-If 1, only pixels with depth = 1 get lens flare, this prevents white objects from getting flare source which would normally happen in LDR
  646. #define fLenzIntensity 1.0 //[0.2:3.0] //-power of lens flare effect
  647. #define fLenzThreshold 0.8 //[0.6:1.0] //-Minimum brightness an object must have to cast lensflare
  648.  
  649.  
  650. ////----------------//
  651. ///**CHAPMAN_LENS**///
  652. //----------------////
  653. #define USE_CHAPMAN_LENS 0 //[Bloom] //-Chapman's lensflare: Simple lensflare shader with one big halo.
  654.  
  655. //>Chapman Lens Settings<\\
  656. #define CHAPMAN_DEPTH_CHECK 1 //[0:1] //-if 1, only pixels with depth = 1 get lensflares, this prevents white objects from getting lensflare source which would normally happen in LDR
  657. #define ChapFlareTreshold 0.90 //[0.70:0.99] //-Brightness threshold for lensflare generation. Everything brighter than this value gets a flare.
  658. #define ChapFlareCount 15 //[1:20] //-Number of single halos to be generated. If set to 0, only the curved halo around is visible.
  659. #define ChapFlareDispersal 0.25 //[0.25:1.00] //-Distance from screen center (and from themselves) the flares are generated.
  660. #define ChapFlareSize 0.45 //[0.20:0.80] //-Distance (from screen center) the halo and flares are generated.
  661. #define ChapFlareCA float3(0.00,0.01,0.02) //[-0.50:0.50] //-Offset of RGB components of flares as modifier for Chromatic abberation. Same 3 values means no CA.
  662. #define ChapFlareIntensity 100.0 //[5.0:200.0] //-Intensity of flares and halo, remember that higher threshold lowers intensity, you might play with both values to get desired result.
  663.  
  664.  
  665. ////-----------//
  666. ///**GODRAYS**///
  667. //-----------////
  668. #define USE_GODRAYS 0 //[Bloom] //-Godrays: Adds some light rays rotating around screen center.
  669.  
  670. //>God Rays Settings<\\
  671. #define GODRAY_DEPTH_CHECK 1 //[0:1] //-if 1, only pixels with depth = 1 get godrays, this prevents white objects from getting godray source which would normally happen in LDR
  672. #define fGodrayDecay 0.9999 //[0.5000:0.9999] //-How fast they decay. It's logarithmic, 1.0 means infinite long rays which will cover whole screen
  673. #define fGodrayExposure 0.7 //[0.7:1.5] //-Upscales the godray's brightness
  674. #define fGodrayWeight 0.80 //[0.80:1.70] //-weighting
  675. #define fGodrayDensity 0.5 //[0.2:2.0] //-Density of rays, higher means more and brighter rays
  676. #define fGodrayThreshold 1.0 //[0.6:1.0] //-Minimum brightness an object must have to cast godrays
  677. #define iGodraySamples 128 //[undef] //-2^x format values; How many samples the godrays get
  678.  
  679.  
  680. ////-------------//
  681. ///**ANAMFLARE**///
  682. //-------------////
  683. #define USE_ANAMFLARE 0 //[Bloom] //-Anamorphic Lensflare: adds some horizontal light flare, simulating the use of an anamorphic lens while recording.
  684.  
  685. //>Anamorphic Lens Flare<\\
  686. #define FLARE_DEPTH_CHECK 1 //[0:1] //-if 1, only pixels with depth = 1 get an anamflare, this prevents white objects from getting flare source which would normally happen in LDR
  687. #define fFlareLuminance 0.095 //[0.000:1.000] //-bright pass luminance value
  688. #define fFlareBlur 200.0 //[1.0:10000.0] //-manages the size of the flare
  689. #define fFlareIntensity 2.07 //[0.20:5.00] //-effect intensity
  690. #define fFlareTint float3(0.137,0.216,1.000) //[0.000:2.000] //-effect tint RGB
  691.  
  692. TheLazyFrameworkSuiteName:McFX
  693.  
  694. ////----------//
  695. ///**GLOBAL**///
  696. //----------////
  697. //-Global Defines-//
  698.  
  699. //>McFX Suite General Settings<\\
  700. //-Commentary:The McFX Suite contains various Depth of Field, ambient occlusion and vision changing shader.\nThose shader are derived from MasterEffect.
  701.  
  702.  
  703. ////--------------------//
  704. ///**AMBIENTOCCLUSION**///
  705. //--------------------////
  706. #define USE_AMBIENTOCCLUSION 0 //[SSAO] //-Ambient Occlusion: Enables physically incorrect shading that most newer gen games use. Multiple algorithms available.
  707.  
  708. //>Global Parameters<\\
  709. #define AO_METHOD 1 //[1:4] //-No description given
  710. #define AO_SHARPNESS 0.70 //[0.05:2.00] //-No description given
  711. #define AO_DEBUG 0 //[0:2] //-No description given
  712. #define AO_LUMINANCE_CONSIDERATION 1 //[0:1] //-No description given
  713. #define AO_LUMINANCE_LOWER 0.3 //[0.0:1.0] //-No description given
  714. #define AO_LUMINANCE_UPPER 0.6 //[0.0:1.0] //-No description given
  715. #define AO_ToggleKey RFX_ToggleKey //[undef] //-
  716.  
  717. //>SSAO Settings<\\
  718. #define iSSAOSamples 16 //[16:128] //-Amount of samples. Don't set too high or shader compilation time goes through the roof.
  719. #define fSSAOSamplingRange 50.0 //[10.0:50.0] //-SSAO sampling range. High range values might need more samples so raise both.
  720. #define fSSAODarkeningAmount 1.5 //[0.0:5.0] //-Amount of SSAO corner darkening
  721. #define fSSAOBrighteningAmount 1.0 //[0.0:5.0] //-Amount of SSAO edge brightening
  722.  
  723. //>Raymarch AO Settings<\\
  724. #define iRayAOSamples 24 //[10:78] //-Amount of sample "rays" Higher means more accurate AO but also less performance.
  725. #define fRayAOSamplingRange 0.0005 //[0.0001:0.0200] //-Range of AO sampling. Higher values ignore small geometry details and shadow more globally.
  726. #define fRayAOMaxDepth 0.02 //[0.01:0.20] //-factor to avoid far objects to occlude close objects just because they are besides each other on screen.
  727. #define fRayAOMinDepth 0.00003 //[0.00000:0.00100] //-Minimum depth difference cutoff to prevent (almost) flat surfaces to occlude themselves.
  728. #define fRayAOPower 2.0 //[0.2:5.0] //-Amount of darkening.
  729.  
  730. //>HBAO Settings<\\
  731. #define iHBAOSamples 9 //[7:36] //-Amount of samples. Higher means more accurate AO but also less performance.
  732. #define fHBAOSamplingRange 2.6 //[0.5:5.0] //-Range of HBAO sampling. Higher values ignore small geometry details and shadow more globally.
  733. #define fHBAOAmount 3.0 //[1.0:10.0] //-Amount of HBAO shadowing.
  734. #define fHBAOClamp 0.1 //[0.0:1.0] //-Clamps HBAO power. 0.0 means full power, 1.0 means no HBAO.
  735. #define fHBAOAttenuation 0.020 //[0.001:0.200] //-Affects the HBAO range, prevents shadowing of very far objects which are close in screen space.
  736.  
  737. //>SSGI Settings<\\
  738. #define iSSGISamples 9 //[5:24] //-Amount of SSGI sampling iterations, higher means better GI but less performance.
  739. #define fSSGISamplingRange 0.4 //[0.0:80.0] //-Radius of SSGI sampling.
  740. #define fSSGIIlluminationMult 4.5 //[1.0:8.0] //-Multiplier of SSGI illumination (color bouncing/reflection).
  741. #define fSSGIOcclusionMult 0.8 //[0.0:10.0] //-Multiplier of SSGI occlusion.
  742. #define fSSGIModelThickness 10.0 //[0.5:100.0] //-Amount of unit spaces the algorithm assumes the model's thickness. Lower if scene only contains small objects.
  743. #define fSSGISaturation 1.8 //[0.2:2.0] //-Saturation of bounced/reflected colors.
  744.  
  745.  
  746. ////----------------//
  747. ///**DEPTHOFFIELD**///
  748. //----------------////
  749. #define USE_DEPTHOFFIELD 0 //[DOF] //-
  750.  
  751. //>Global Parameters<\\
  752. #define DOF_METHOD 4 //[1:4] //-1: Ring DOF(Petka/martinsh) 2: Magic DOF 3: GP65CJ042 DOF 4: Matso DOF
  753. #define DOF_FOCUSPOINT float2(0.5,0.5) //[0.0:1.0] //-Screen coordinates of focus point. First value is horizontal, second value is vertical position. 0 is left/upper, 1 is right/lower.
  754. #define DOF_NEARBLURCURVE 0.9 //[0.4:10.0] //-Power of blur of closer-than-focus areas.
  755. #define DOF_FARBLURCURVE 2.0 //[0.4:10.0] //-Elementary, my dear Watson: Blur power of areas behind focus plane.
  756. #define DOF_BLURRADIUS 8.0 //[5.0:50.0] //-Blur radius approximately in pixels. Radius, not diameter.
  757. #define DOF_MANUALFOCUS 1 //[0:1] //-Enables manual focus.
  758. #define DOF_MANUALFOCUSDEPTH 0.195 //[0.000:1.000] //-Manual focus depth. 0.0 means camera is focus plane, 1.0 means sky is focus plane.
  759. #define DOF_VIGNETTE 200 //[0:1000] //-Significance of near DoF at edges
  760. #define DoF_ToggleKey RFX_ToggleKey //[undef] //-
  761.  
  762. //>MATSO DOF Settings<\\
  763. #define bMatsoDOFChromaEnable 1 //[0:1] //-Enables Chromatic Abberation.
  764. #define bMatsoDOFBokehEnable 1 //[0:1] //-Enables Bokeh weighting do define bright light spots and increase bokeh shape definiton.
  765. #define fMatsoDOFChromaPow 1.4 //[0.2:3.0] //-Amount of chromatic abberation color shifting.
  766. #define fMatsoDOFBokehCurve 8.0 //[0.5:20.0] //-Bokeh curve.
  767. #define fMatsoDOFBokehLight 0.012 //[0.000:2.000] //-Bokeh brightening factor.
  768. #define iMatsoDOFBokehQuality 2 //[1:10] //-Blur quality as control value over tap count.
  769. #define fMatsoDOFBokehAngle 0 //[0:360] //-Rotation angle of bokeh shape.
  770.  
  771. //>Ring DOF Settings<\\
  772. #define iRingDOFSamples 6 //[5:30] //-Samples on the first ring. The other rings around have more samples
  773. #define iRingDOFRings 4 //[1:8] //-Ring count
  774. #define fRingDOFThreshold 2.5 //[0.8:3.0] //-Threshold for bokeh brightening. Above this value, everything gets much much brighter. 1.0 is maximum value for LDR games like GTASA, higher values work only on HDR games like Skyrim etc.
  775. #define fRingDOFGain 0.1 //[0.1:2.0] //-Amount of brightening for pixels brighter than threshold.
  776. #define fRingDOFBias 0.0 //[0.0:2.0] //-bokeh bias.
  777. #define fRingDOFFringe 0.5 //[0.0:1.0] //-Amount of chromatic abberation
  778.  
  779. //>Magic DOF Settings<\\
  780. #define iMagicDOFBlurQuality 2 //[1:30] //-Blur quality as control value over tap count. Quality 15 produces 721 taps, impossible with other DOF shaders by far, most they can do is about 150.
  781. #define fMagicDOFColorCurve 3.0 //[1.0:10.0] //-DOF weighting curve.
  782.  
  783. //>GP65CJ042 DOF Settings<\\
  784. #define iGPDOFQuality 6 //[0:7] //-0 = only slight gaussian farblur but no bokeh. 1-7 bokeh blur, higher means better quality of blur but less fps.
  785. #define bGPDOFPolygonalBokeh 1 //[0:1] //-Enables polygonal bokeh shape, e.g. POLYGON_NUM 5 means pentagonal bokeh shape. Setting this value to 0 results in circular bokeh shape.
  786. #define iGPDOFPolygonCount 5 //[3:9] //-Controls the amount pf polygons for polygonal bokeh shape. 3 = triangular, 4 = square, 5 = pentagonal etc.
  787. #define fGPDOFBias 0.0 //[0.0:20.0] //-Shifts bokeh weighting to bokeh shape edge. Set to 0 for even bright bokeh shapes, raise it for darker bokeh shapes in center and brighter on edge.
  788. #define fGPDOFBiasCurve 0.0 //[0.0:3.0] //-Power of Bokeh Bias. Raise for more defined bokeh outlining on bokeh shape edge.
  789. #define fGPDOFBrightnessThreshold 1.8 //[0.6:2.0] //-Threshold for bokeh brightening. Above this value, everything gets much much brighter. 1.0 is maximum value for LDR games like GTASA, higher values work only on HDR games like Skyrim etc.
  790. #define fGPDOFBrightnessMultiplier 2.0 //[0.0:2.0] //-Amount of brightening for pixels brighter than fGPDOFBrightnessThreshold.
  791. #define fGPDOFChromaAmount 0.0 //[0.0:0.4] //-Amount of color shifting applied on blurred areas.
  792.  
  793.  
  794. ////------------//
  795. ///**HEATHAZE**///
  796. //------------////
  797. #define USE_HEATHAZE 0 //[HeatHaze] //-
  798.  
  799. //>Heat Haze Settings<\\
  800. #define fHeatHazeSpeed 2.0 //[0.5:10.0] //-Speed of heathaze waves
  801. #define fHeatHazeOffset 5.0 //[0.5:20.0] //-Amount of image distortion caused by heathaze effect
  802. #define fHeatHazeTextureScale 1.0 //[0.5:5.0] //-Scale of source texture, affecting the tile size. Use Heathaze debug effect for better visible effect.
  803. #define fHeatHazeChromaAmount 0.6 //[0.0:2.0] //-Amount of color shift caused by heat haze. Linearly scales with fHeatHazeOffset.
  804. #define bHeatHazeDebug 0 //[0:1] //-Enables raw texture output for debugging purposes. Useful for texture experiments.
  805. #define HeatHaze_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  806. #define HeatHaze_ToggleKey RFX_ToggleKey //[undef] //-
  807.  
  808.  
  809. ////--------------//
  810. ///**FISHEYE_CA**///
  811. //--------------////
  812. #define USE_FISHEYE_CA 0 //[FishEyeCA] //-
  813.  
  814. //>Fish Eye Chromatic Abberation Settings<\\
  815. #define fFisheyeZoom 0.5 //[0.5:1.0] //-some lens zoom to hide bugged edges due to texcoord modification
  816. #define fFisheyeDistortion 0.15 //[-0.30:0.30] //-distortion of image, fish eye effect
  817. #define fFisheyeDistortionCubic 0.15 //[-0.30:0.30] //-distortion of image, fish eye effect, cube based
  818. #define fFisheyeColorshift -0.03 //[-0.10:0.10] //-Amount of color shifting
  819. #define FishEye_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  820. #define FishEye_ToggleKey RFX_ToggleKey //[undef] //-
  821.  
  822.  
  823. ////-------//
  824. ///**RBM**///
  825. //-------////
  826. #define USE_RBM 0 //[RBM] //-
  827.  
  828. //>Reflective Bump Mapping Settings<\\
  829. #define fReflectionWideness 100.0 //[25.0:150.0] //-Wideness of reflection in pixels.
  830. #define fReflectionSamples 64 //[32:128] //-Amount of Reflection Samples
  831. #define fReflectionReliefHeight 1.00 //[0.50:2.00] //-Relief Height
  832. #define fReflectionAmount 0.30 //[0.05:1.00] //-Mix factor between bump and original color. 0.0 means no bump applied, 1.0 means pure bump source.
  833. #define fReflectionFresnelFactor 1.00 //[0.00:1.00] //-Lowers reflections when looking at a reflecting surface at a steep angle. Factor determines how much fresnel effect is taken into account.
  834. #define fReflectionFresnelCurve 30.0 //[1.0:30.0] //-Fresnel curve. The higher the value, the lower reflections at steep view angles are.
  835. #define RBM_ToggleKey RFX_ToggleKey //[undef] //-
  836.  
  837. TheLazyFrameworkSuiteName:SweetFX
  838.  
  839. ////----------//
  840. ///**GLOBAL**///
  841. //----------////
  842. //-Global Defines-//
  843.  
  844. //>SweetFX Suite General Settings<\\
  845. //-Commentary:The SweetFX Suite contains various color correction and other neat shader.\nBeginning from Levels, all following shader are grouped to together under the SharedShader set.
  846. #define SharedShader_ToggleKey RFX_ToggleKey //[undef] //- Toggle key for all shared shaders. Shared shaders are Bloom, Border,
  847.  
  848.  
  849. ////---------//
  850. ///**ASCII**///
  851. //---------////
  852. #define USE_ASCII 0 //[Ascii] //-Ascii : Converts the image to Ascii-art.
  853.  
  854. //>Ascii settings<\\
  855. #define Ascii_input_image 1 //[1:2] //-1 = Color buffer, 2 = Depth buffer.
  856. #define Ascii_spacing 1 //[0:9] //-Determines the spacing between characters. I feel 1 to 3 looks best.
  857. #define Ascii_font 2 //[1:2] //-1 = 5x5 font, 2 = 3x5 font
  858. #define Ascii_font_color float3(255,255,255) //[0:255] //-What color the font should be. In integer RGB colors. X = Red, Y = Green, Z = Blue
  859. #define Ascii_background_color float3(0,0,0) //[0:255] //-What color the background should be. In integer RGB colors. X = Red, Y = Green, Z = Blue
  860. #define Ascii_font_color_mode 1 //[0:2] //-0 = font_color, 1 = image color, 2 = colorized grayscale
  861. #define Ascii_ToggleKey RFX_ToggleKey //[undef] //-Key used to toggle the effect on and off. Go to ReShade/Common/KeyCodes.h for additional key codes.
  862.  
  863.  
  864. ////--------------//
  865. ///**Transition**///
  866. //--------------////
  867. #define USE_Transition 0 //[Transition] //-Transition : Shows transitions to the regularly scheduled programming
  868.  
  869. //>Transition Settings<\\
  870. #define Transition_time 5000 //[1:60000] //-No description given
  871. #define Transition_texture "Curtain.jpg" //[undef] //-Filename for the texture to use. Put your custom textures in SweetFX/Textures/
  872. #define Transition_texture_width 720 //[undef] //-Image width.
  873. #define Transition_texture_height 480 //[undef] //-Image height.
  874. #define Transition_type CurtainOpen //[undef] //-Can be "FadeIn", "FadeOut", "CurtainOpen", "CurtainClose" or "ImageFadeOut"
  875. #define Transition_ToggleKey RFX_ToggleKey //[undef] //-
  876.  
  877.  
  878. ////--------//
  879. ///**SMAA**///
  880. //--------////
  881. #define USE_SMAA 0 //[SMAAWrap] //-SMAA Anti-aliasing : Smoothens jagged lines using the SMAA technique.
  882.  
  883. //>SMAA Anti-aliasing settings<\\
  884. #define SMAA_THRESHOLD 0.10 //[0.05:0.20] //-Edge detection threshold. If SMAA misses some edges try lowering this slightly. I prefer between 0.08 and 0.12.
  885. #define SMAA_MAX_SEARCH_STEPS 98 //[0:98] //-Determines the radius SMAA will search for aliased edges
  886. #define SMAA_MAX_SEARCH_STEPS_DIAG 16 //[0:16] //-Determines the radius SMAA will search for diagonal aliased edges
  887. #define SMAA_CORNER_ROUNDING 0 //[0:100] //-Determines the percent of antialiasing to apply to corners. 0 seems to affect fine text the least so it's the default.
  888. #define SMAA_ToggleKey RFX_ToggleKey //[undef] //-
  889.  
  890. //>Advanced SMAA settings<\\
  891. #define SMAA_EDGE_DETECTION 1 //[1|2|3] //-1 = Luma edge detection, 2 = Color edge detection, 3 = Depth edge detection
  892. #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.
  893.  
  894. //>SMAA Predication settings<\\
  895. #define SMAA_PREDICATION 0 //[0:1] //-Enables predication which uses BOTH the color and the depth texture for edge detection to more accurately detect edges.
  896. #define SMAA_PREDICATION_THRESHOLD 0.001 //[undef] //-Threshold to be used in the depth buffer.
  897. #define SMAA_PREDICATION_SCALE 2.0 //[undef] //-How much to scale the global threshold used for luma or color edge detection when using predication
  898. #define SMAA_PREDICATION_STRENGTH 0.4 //[undef] //-How much to locally decrease the threshold.
  899.  
  900. //>Debug SMAA settings<\\
  901. #define SMAA_DEBUG_OUTPUT 0 //[0:4] //-No description given
  902.  
  903.  
  904. ////--------//
  905. ///**FXAA**///
  906. //--------////
  907. #define USE_FXAA 0 //[FXAAWrap] //-FXAA Anti-aliasing : Smoothens jagged lines using the FXAA technique.
  908.  
  909. //>FXAA Anti-aliasing settings<\\
  910. #define FXAA_QUALITY__PRESET 9 //[1:9] //-Choose the quality preset. 9 is the highest quality.
  911. #define fxaa_Subpix 0.000 //[0.000:1.000] //-Choose the amount of sub-pixel aliasing removal. Higher values makes the image softer/blurrier.
  912. #define fxaa_EdgeThreshold 0.166 //[0.000:1.000] //-Edge detection threshold. The minimum amount of local contrast required to apply algorithm. Similar to SMAA_THRESHOLD
  913. #define fxaa_EdgeThresholdMin 0.000 //[0.000:1.000] //-Darkness threshold. Pixels darker than this are not processed in order to increase performance.
  914. #define FXAA_ToggleKey RFX_ToggleKey //[undef] //-
  915.  
  916.  
  917. ////-------------//
  918. ///**EXPLOSION**///
  919. //-------------////
  920. #define USE_EXPLOSION 0 //[Explosion] //-Explosion : Scatters the pixels, making the image look fuzzy.
  921.  
  922. //>Explosion settings<\\
  923. #define Explosion_Radius 2.0 //[0.2:100.0] //-Amount of effect you want.
  924. #define Explosion_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  925. #define Explosion_ToggleKey RFX_ToggleKey //[undef] //-
  926.  
  927.  
  928. ////------//
  929. ///**CA**///
  930. //------////
  931. #define USE_CA 0 //[CA] //-Chromatic Aberration : Mimics the look of a cheap camera lens, by distorting the colors.
  932.  
  933. //>Chromatic Aberration settings<\\
  934. #define Chromatic_shift float2(2.5,-0.5) //[-100.0:100.0] //-Distance (X,Y) in pixels to shift the color components. For a slightly blurred look try fractional values (.5) between two pixels.
  935. #define Chromatic_strength 0.5 //[0.0:1.0] //-Adjust the strength of the effect.
  936. #define CA_TimeOut 0 //[0:100000] //-Defined Toggle Key will activate the shader until time (in ms) runs out. "0" deactivates the timeout feature.
  937. #define CA_ToggleKey RFX_ToggleKey //[undef] //-
  938.  
  939.  
  940. ////-----------//
  941. ///**CARTOON**///
  942. //-----------////
  943. #define USE_CARTOON 0 //[Cartoon] //-Cartoon : "Toon"s the image.
  944.  
  945. //>Cartoon settings<\\
  946. #define CartoonPower 1.5 //[0.1:10.0] //-Amount of effect you want.
  947. #define CartoonEdgeSlope 1.5 //[0.1:8.0] //-Raise this to filter out fainter edges. You might need to increase the power to compensate. Whole numbers are faster.
  948. #define Cartoon_ToggleKey RFX_ToggleKey //[undef] //-
  949.  
  950.  
  951. ////----------------//
  952. ///**ADVANCED_CRT**///
  953. //----------------////
  954. #define USE_ADVANCED_CRT 0 //[AdvancedCRT] //-Advanced CRT : Simulates an old CRT TV display. (has a very high performance cost)
  955.  
  956. //>Advanced CRT settings<\\
  957. #define CRTAmount 0.06 //[0.00:1.00] //-Amount of CRT effect you want
  958. #define CRTResolution 1.15 //[1.00:8.00] //-Input size coefficent (low values gives the "low-res retro look"). Default is 1.2
  959. #define CRTgamma 2.4 //[0.0:4.0] //-Gamma of simulated CRT (default 2.2)
  960. #define CRTmonitorgamma 2.2 //[0.0:4.0] //-Gamma of display monitor (typically 2.2 is correct)
  961. #define CRTBrightness 0.9 //[0.0:3.0] //-Used to boost brightness a little. Default is 1.0
  962. #define CRTScanlineIntensity 2.0 //[2.0:4.0] //-Scanlines intensity (use integer values preferably). Default is 2.0
  963. #define CRTScanlineGaussian 1 //[0:1] //-Use the "new nongaussian scanlines bloom effect". Default is on
  964. #define CRTCurvature 0 //[0:1] //-"Barrel effect" enabled (1) or off (0)
  965. #define CRTCurvatureRadius 1.5 //[0.0:2.0] //-Curvature Radius (only effective when Curvature is enabled). Default is 1.5
  966. #define CRTCornerSize 0.0100 //[0.0000:0.0200] //-Higher values, more rounded corner. Default is 0.001
  967.  
  968. //>Advanced CRT settings<\\
  969. #define CRTDistance 2.00 //[0.00:4.00] //-Simulated distance from viewer to monitor. Default is 2.00
  970. #define CRTAngleX 0.00 //[-0.20:0.20] //-Tilt angle in radians (X coordinates)
  971. #define CRTAngleY 0.00 //[-0.20:0.20] //-Tilt angle in radians (Y coordinates). (Value of -0.15 gives the 'arcade tilt' look)
  972. #define CRTOverScan 1.01 //[1.00:1.10] //-Overscan (e.g. 1.02 for 2% overscan). Default is 1.01
  973. #define CRTOversample 1 //[0:1] //-Enable 3x oversampling of the beam profile (warning : performance hit)
  974. #define AdvancedCRT_ToggleKey RFX_ToggleKey //[undef] //-
  975.  
  976.  
  977. ////----------------//
  978. ///**PIXELART_CRT**///
  979. //----------------////
  980. #define USE_PIXELART_CRT 0 //[PixelartCRT] //-PixelArt CRT : Scanlines for pixel art (high performance cost)
  981.  
  982. //>Emulated input resolution<\\
  983. #define PixelArtCRT_resolution_mode 1 //[1:2] //-1 = Ratio, 2 = Fixed resolution
  984. #define PixelArtCRT_resolution_ratio (1.0/4.0) //[undef] //-
  985. #define PixelArtCRT_fixed_resolution float2(320.0,160.0) //[undef] //-
  986.  
  987. //>Hardness<\\
  988. #define PixelArtCRT_hardScan -24.0 //[-24.0:0.0] //-Hardness of scanline : -8.0 = soft, -16.0 = medium
  989. #define PixelArtCRT_hardPix -24.0 //[undef] //-Hardness of pixels in scanline : -2.0 = soft, -4.0 = hard
  990.  
  991. //>Display warp<\\
  992. #define PixelArtCRT_warp float2(1.0/64.0,1.0/24.0) //[undef] //-Display warp : 0.0 = none , 1.0/8.0 = extreme
  993.  
  994. //>Type of shadow mask<\\
  995. #define PixelArtCRT_ShadowMask 3 //[1:4] //-Type of shadow mask : 1 = Very compressed TV style shadow mask, 2 = Aperture-grille, 3 = Stretched VGA style shadow mask, 4 = VGA style shadow mask
  996.  
  997. //>Amount of shadow mask<\\
  998. #define PixelArtCRT_maskDark 0.5 //[0.0:2.0] //-
  999. #define PixelArtCRT_maskLight 1.5 //[0.0:2.0] //-
  1000.  
  1001. //>Falloff shape<\\
  1002. #define PixelArtCRT_shape 3.0 //[undef] //-Falloff shape : 1.0 = exp(x), 1.25 = in between, 2.0 = gaussian, 3.0 = more square
  1003.  
  1004. //>Amp signal<\\
  1005. #define PixelArtCRT_overdrive 1.25 //[0.00:3.00] //-
  1006.  
  1007. //>Toggle Key<\\
  1008. #define PixelArt_ToggleKey RFX_ToggleKey //[undef] //-
  1009.  
  1010.  
  1011. ////---------//
  1012. ///**BLOOM**///
  1013. //---------////
  1014. #define USE_BLOOM 0 //[Bloom] //-Bloom : Makes bright lights bleed their light into their surroundings (relatively high performance cost)
  1015.  
  1016. //>Bloom settings<\\
  1017. #define BloomThreshold 19.25 //[0.00:50.00] //-Threshold for what is a bright light (that causes bloom) and what isn't.
  1018. #define BloomPower 1.100 //[0.000:8.000] //-Strength of the bloom
  1019. #define BloomWidth 0.0150 //[0.0000:1.0000] //-Width of the bloom
  1020. #define Bloom_ToggleKey RFX_ToggleKey //[undef] //-
  1021.  
  1022.  
  1023. ////-------//
  1024. ///**HDR**///
  1025. //-------////
  1026. #define USE_HDR 0 //[HDR] //-HDR : Not actual HDR - It just tries to mimic an HDR look (relatively high performance cost)
  1027.  
  1028. //>HDR settings<\\
  1029. #define HDRPower 1.01 //[0.00:8.00] //-Strangely lowering this makes the image brighter
  1030. #define radius2 0.83 //[0.00:8.00] //-Raising this seems to make the effect stronger and also brighter
  1031. #define HDR_ToggleKey RFX_ToggleKey //[undef] //-
  1032.  
  1033.  
  1034. ////---------------//
  1035. ///**LUMASHARPEN**///
  1036. //---------------////
  1037. #define USE_LUMASHARPEN 1 //[LumaSharpen] //-LumaSharpen : Sharpens the image.
  1038.  
  1039. //>LumaSharpen settings<\\
  1040. #define sharp_strength 1.18 //[0.10:3.00] //-Strength of the sharpening
  1041. #define sharp_clamp 0.035 //[0.000:1.000] //-Limits maximum amount of sharpening a pixel recieves - Default is 0.035
  1042.  
  1043. //>Advanced sharpening settings<\\
  1044. #define pattern 4 //[1|2|3|4] //-Choose a sample pattern. 1 = Fast, 2 = Normal, 3 = Wider, 4 = Pyramid shaped.
  1045. #define offset_bias 1.0 //[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.
  1046.  
  1047. //>Debug sharpening settings<\\
  1048. #define show_sharpen 0 //[0:1] //-Visualize the strength of the sharpen (multiplied by 4 to see it better)
  1049. #define LumaSharpen_ToggleKey RFX_ToggleKey //[undef] //-
  1050.  
  1051.  
  1052. ////-------------------//
  1053. ///**LENS_DISTORTION**///
  1054. //-------------------////
  1055. #define USE_LENS_DISTORTION 0 //[LensDistortion] //-Cubic Lens Distortion : Distorts the lens cubicly.
  1056.  
  1057.  
  1058. ////-------------//
  1059. ///**NOSTALGIA**///
  1060. //-------------////
  1061. #define USE_NOSTALGIA 0 //[Shared] //-Nostalgia : Remember when you played that game you always played on that first system of yours? You don't? Well here is a reminder.
  1062.  
  1063.  
  1064. ////----------//
  1065. ///**LEVELS**///
  1066. //----------////
  1067. #define USE_LEVELS 0 //[Shared] //-Levels : Sets a new black and white point. This increases contrast but causes clipping. Use Curves instead if you want to avoid that.
  1068.  
  1069. //>Levels settings<\\
  1070. #define Levels_black_point 16 //[0:255] //-The black point is the new black - literally. Everything darker than this will become completely black. Default is 16.0
  1071. #define Levels_white_point 235 //[0:255] //-The new white point. Everything brighter than this becomes completely white. Default is 235.0
  1072.  
  1073. //>Debug settings<\\
  1074. #define Levels_highlight_clipping 0 //[0:1] //-Colors between the two points will stretched, which increases contrast, but details above and below the points are lost (this is called clipping). Highlight the pixels that clip. Red = Some detail is lost in the highlights, Yellow = All detail is lost in the highlights, Blue = Some detail is lost in the shadows, Cyan = All detail is lost in the shadows.
  1075.  
  1076.  
  1077. ////---------------//
  1078. ///**TECHNICOLOR**///
  1079. //---------------////
  1080. #define USE_TECHNICOLOR 0 //[Shared] //-TECHNICOLOR : Attempts to mimic the look of an old movie using the Technicolor three-strip color process (Techicolor Process 4) 1
  1081.  
  1082. //>TECHNICOLOR settings<\\
  1083. #define TechniAmount 0.40 //[0.00:1.00] //-
  1084. #define TechniPower 4.00 //[0.00:8.00] //-
  1085. #define redNegativeAmount 0.88 //[0.00:1.00] //-
  1086. #define greenNegativeAmount 0.88 //[0.00:1.00] //-
  1087. #define blueNegativeAmount 0.88 //[0.00:1.00] //-
  1088.  
  1089.  
  1090. ////----------------//
  1091. ///**TECHNICOLOR2**///
  1092. //----------------////
  1093. #define USE_TECHNICOLOR2 0 //[Shared] //-TECHNICOLOR 2 : Yet another Technicolor effect - not sure if this stays or not. Let me know if you like it.
  1094.  
  1095. //>TECHNICOLOR 2 settings<\\
  1096. #define Technicolor2_Red_Strength 0.20 //[0.05:1.0] //-Color Strength of Red channel. Higher means darker and more intense colors.
  1097. #define Technicolor2_Green_Strength 0.20 //[0.05:1.0] //-Color Strength of Green channel. Higher means darker and more intense colors.
  1098. #define Technicolor2_Blue_Strength 0.20 //[0.05:1.0] //-Color Strength of Blue channel. Higher means darker and more intense colors.
  1099. #define Technicolor2_Brightness 1.0 //[0.5:1.5] //-Brightness Adjustment, higher means brighter image.
  1100. #define Technicolor2_Strength 1.0 //[0.0:1.0] //-Strength of Technicolor effect. 0.0 means original image.
  1101. #define Technicolor2_Saturation 0.7 //[0.0:1.5] //-Additional saturation control since technicolor tends to oversaturate the image.
  1102.  
  1103.  
  1104. ////-------//
  1105. ///**DPX**///
  1106. //-------////
  1107. #define USE_DPX 1 //[Shared] //-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.
  1108.  
  1109. //>Cineon DPX settings<\\
  1110. #define Red 15.0 //[1.0:15.0] //-
  1111. #define Green 15.0 //[1.0:15.0] //-
  1112. #define Blue 15.0 //[1.0:15.0] //-
  1113. #define ColorGamma 1.0 //[0.1:2.5] //-Adjusts the colorfulness of the effect in a manner similar to Vibrance. 1.0 is neutral.
  1114. #define DPXSaturation 1.7 //[0.0:8.0] //-Adjust saturation of the effect. 1.0 is neutral.
  1115. #define RedC 0.30 //[0.20:0.60] //-
  1116. #define GreenC 0.30 //[0.20:0.60] //-
  1117. #define BlueC 0.30 //[0.20:0.60] //-
  1118. #define Blend 0.05 //[0.00:1.00] //-How strong the effect should be.
  1119.  
  1120.  
  1121. ////--------------//
  1122. ///**MONOCHROME**///
  1123. //--------------////
  1124. #define USE_MONOCHROME 0 //[Shared] //-Monochrome : Monochrome makes the colors disappear.
  1125.  
  1126. //>Monochrome settings<\\
  1127. #define Monochrome_conversion_values float3(0.21,0.72,0.07) //[0.00:1.00] //-No description given
  1128.  
  1129.  
  1130. ////---------------//
  1131. ///**COLORMATRIX**///
  1132. //---------------////
  1133. #define USE_COLORMATRIX 0 //[Shared] //-Color Matrix : Allows color modification using a user-defined color matrix.
  1134.  
  1135. //>Color Matrix settings<\\
  1136. #define ColorMatrix_Red float3(0.817,0.183,0.000) //[0.00:1.00] //-How much of Red, Green and Blue the new red value should contain - Should sum to 1.000 if you don't wish to change the brightness
  1137. #define ColorMatrix_Green float3(0.667,0.000,0.000) //[0.00:1.00] //-How much of Red, Green and Blue the new green value should contain - Should sum to 1.000 if you don't wish to change the brightness
  1138. #define ColorMatrix_Blue float3(0.875,1.00,1.00) //[0.00:1.00] //-How much of Red, Green and Blue the new blue value should contain - Should sum to 1.000 if you don't wish to change the brightness
  1139. #define ColorMatrix_strength 1.0 //[0.0:2.0] //-Adjust the strength
  1140.  
  1141.  
  1142. ////-----------------//
  1143. ///**LIFTGAMMAGAIN**///
  1144. //-----------------////
  1145. #define USE_LIFTGAMMAGAIN 1 //[Shared] //-Lift Gamma Gain : Adjust brightness and color of shadows, midtones and highlights.
  1146.  
  1147. //>Lift Gamma Gain settings<\\
  1148. #define RGB_Lift float3(1.045,1.060,1.115) //[0.000:2.000] //-Adjust shadows for Red, Green and Blue. Note that a value of 1.000 is a neutral setting that leave the color unchanged. X = Red, Y = Green, Z = Blue
  1149. #define RGB_Gamma float3(0.985,0.985,0.985) //[0.000:2.000] //-Adjust midtones for Red, Green and Blue. Note that a value of 1.000 is a neutral setting that leave the color unchanged. X = Red, Y = Green, Z = Blue
  1150. #define RGB_Gain float3(0.985,0.935,0.935) //[0.000:2.000] //-Adjust highlights for Red, Green and Blue. Note that a value of 1.000 is a neutral setting that leave the color unchanged. X = Red, Y = Green, Z = Blue
  1151.  
  1152.  
  1153. ////-----------//
  1154. ///**TONEMAP**///
  1155. //-----------////
  1156. #define USE_TONEMAP 1 //[Shared] //-Tonemap : Adjust gamma, exposure, saturation, bleach and defog. (may cause clipping)
  1157.  
  1158. //>Tonemap settings<\\
  1159. #define Gamma 1.000 //[0.000:2.000] //-Adjust midtones. 1.000 is neutral. This setting does exactly the same as the one in Lift Gamma Gain, only with less control.
  1160. #define Exposure 0.000 //[-1.000:1.000] //-Adjust exposure
  1161. #define Saturation 0.000 //[-1.000:1.000] //-Adjust saturation
  1162. #define Bleach 0.080 //[0.000:1.000] //-Brightens the shadows and fades the colors
  1163. #define Defog 0.180 //[0.000:1.000] //-How much of the color tint to remove
  1164. #define FogColor float3(0.08,0.08,0.03) //[0.00:2.55] //-What color to remove - default is blue
  1165.  
  1166.  
  1167. ////------------//
  1168. ///**VIBRANCE**///
  1169. //------------////
  1170. #define USE_VIBRANCE 1 //[Shared] //-Vibrance : Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation.
  1171.  
  1172. //>Vibrance settings<\\
  1173. #define Vibrance 0.10 //[-1.00:1.00] //-Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation.
  1174. #define Vibrance_RGB_balance float3(1.08,1.08,1.30) //[-10.00:10.00] //-A per channel multiplier to the Vibrance strength so you can give more boost to certain colors over others. X = Red, Y = Green, Z = Blue
  1175.  
  1176.  
  1177. ////----------//
  1178. ///**CURVES**///
  1179. //----------////
  1180. #define USE_CURVES 1 //[Shared] //-Curves : Contrast adjustments using S-curves.
  1181.  
  1182. //>Curves settings<\\
  1183. #define Curves_mode 2 //[0|1|2] //-Choose what to apply contrast to. 0 = Luma, 1 = Chroma, 2 = both Luma and Chroma. Default is 0 (Luma)
  1184. #define Curves_contrast 0.12 //[-1.00:1.00] //-The amount of contrast you want
  1185.  
  1186. //>Advanced curve settings<\\
  1187. #define Curves_formula 3 //[1|2|3|4|5|6|7|8|9|10|11] //-The contrast s-curve you want to use. 1 = Sine, 2 = Abs split, 3 = Smoothstep, 4 = Exp formula, 5 = Simplified Catmull-Rom (0,0,1,1), 6 = Perlins Smootherstep, 7 = Abs add, 8 = Techicolor Cinestyle, 9 = Parabola, 10 = Half-circles. 11 = Polynomial split. Note that Technicolor Cinestyle is practically identical to Sine, but runs slower. In fact I think the difference might only be due to rounding errors. I prefer 2 myself, but 3 is a nice alternative with a little more effect (but harsher on the highlight and shadows) and it's the fastest formula.
  1188.  
  1189.  
  1190. ////---------//
  1191. ///**SEPIA**///
  1192. //---------////
  1193. #define USE_SEPIA 0 //[Shared] //-Sepia : Sepia tones the image.
  1194.  
  1195. //>Sepia settings<\\
  1196. #define ColorTone float3(1.40,1.10,0.90) //[0.00:2.55] //-What color to tint the image.
  1197. #define GreyPower 0.11 //[0.00:1.00] //-How much desaturate the image before tinting it.
  1198. #define SepiaPower 0.58 //[0.00:1.00] //-How much to tint the image.
  1199.  
  1200.  
  1201. ////--------------//
  1202. ///**FILMICPASS**///
  1203. //--------------////
  1204. #define USE_FILMICPASS 0 //[Shared] //-Filmic Pass: Applies some common color adjustments to mimic a more cinema-like look.
  1205.  
  1206. //>FilmicPass settings<\\
  1207. #define Strenght 0.85 //[0.05:1.50] //-Strength of the color curve altering
  1208. #define BaseGamma 1.0 //[0.7:2.0] //-Gamma Curve
  1209. #define Fade 0.4 //[0.0:0.6] //-Decreases contrast to imitate faded image
  1210. #define Contrast 1.0 //[0.5:2.0] //-Contrast.
  1211. #define FBleach 0.00 //[-0.50:1.00] //-More bleach means more contrasted and less colorful image
  1212. #define FSaturation -0.15 //[undef] //-
  1213. #define FRedCurve 1.0 //[undef] //-
  1214. #define FGreenCurve 1.0 //[undef] //-
  1215. #define FBlueCurve 1.0 //[undef] //-
  1216. #define BaseCurve 1.5 //[undef] //-
  1217.  
  1218. //>FilmicPass settings<\\
  1219. #define Linearization 0.50 //[0.50:2.00] //-No description given
  1220. #define EffectGammaR 1.0 //[undef] //-
  1221. #define EffectGammaG 1.0 //[undef] //-
  1222. #define EffectGammaB 1.0 //[undef] //-
  1223. #define EffectGamma 0.65 //[undef] //-
  1224. #define LumCoeff float3(0.212656,0.715158,0.072186) //[undef] //-
  1225.  
  1226.  
  1227. ////------------------//
  1228. ///**REINHARDLINEAR**///
  1229. //------------------////
  1230. #define USE_REINHARDLINEAR 0 //[Shared] //-Reinhard: Reinhard mixed with some linear tonemapping.
  1231.  
  1232. //>ReinhardLinear settings<\\
  1233. #define ReinhardLinearSlope 2.25 //[1.00:5.00] //-how steep the color curve is at linear point. You need color curve understanding to know what this means, just experiment.
  1234. #define ReinhardLinearWhitepoint 3.0 //[undef] //-
  1235. #define ReinhardLinearPoint 0.15 //[undef] //-
  1236.  
  1237.  
  1238. ////-------------//
  1239. ///**FILMGRAIN**///
  1240. //-------------////
  1241. #define USE_FILMGRAIN 0 //[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.
  1242.  
  1243. //>Film Grain settings<\\
  1244. #define FilmGrain_intensity 0.70 //[0.00:1.00] //-How visible the grain is. Higher is more visible.
  1245. #define FilmGrain_variance 0.20 //[0.00:1.00] //-Controls the variance of the gaussian noise. Lower values look smoother.
  1246. #define FilmGrain_SNR 6 //[0:16] //-Higher Signal-to-Noise Ratio values give less grain to brighter pixels. 0 disables this feature.
  1247.  
  1248. //>Advanced Film Grain settings<\\
  1249. #define FilmGrain_mean 0.50 //[0.00:1.00] //-The average mean of the gaussian noise. Probably best kept at the middle value (0.50)
  1250.  
  1251.  
  1252. ////------------//
  1253. ///**VIGNETTE**///
  1254. //------------////
  1255. #define USE_VIGNETTE 0 //[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.
  1256.  
  1257. //>Vignette settings<\\
  1258. #define VignetteType 1 //[1|2|3] //-1 = Original, 2 = New, 3 = TV style
  1259. #define VignetteRatio 1.00 //[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.
  1260. #define VignetteRadius 2.00 //[-1.00:3.00] //-lower values = stronger radial effect from center
  1261. #define VignetteAmount -1.00 //[-2.00:1.00] //-Strength of black. -2.00 = Max Black, 1.00 = Max White.
  1262. #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)
  1263. #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.
  1264.  
  1265.  
  1266. ////----------//
  1267. ///**DITHER**///
  1268. //----------////
  1269. #define USE_DITHER 1 //[Shared] //-Dither : Applies dithering to simulate more colors than your monitor can display. This lessens banding artifacts (mostly caused by Vignette). Note that the patterns used by Dither, makes an image harder to compress. This can make your screenshots and video recordings take up more space.
  1270.  
  1271. //>Dither settings<\\
  1272. #define dither_method 1 //[1:2] //-1 = Ordered dithering (very good and very fast), 2 = Random dithering (different but slightly slower dithering)
  1273.  
  1274.  
  1275. ////----------//
  1276. ///**BORDER**///
  1277. //----------////
  1278. #define USE_BORDER 0 //[Shared] //-Border : Can be used to create letterbox borders around the image.
  1279.  
  1280. //>Border settings<\\
  1281. #define border_width float2(0,1) //[0:2048] //-(X,Y)-width of the border. Measured in pixels. If this is set to 0,0 then the border_ratio will be used instead
  1282. #define border_color float3(0,0,0) //[0:255] //-What color the border should be. In integer RGB colors, meaning 0,0,0 is black and 255,255,255 is full white.
  1283. #define border_ratio float(2.35/1.0) //[undef] //-[0.1000 to 10.0000] Set the desired ratio for the visible area. You MUST use floating point - Integers do not work right. Examples that work: (1680.0 / 1050.0), (16.0 / 10.0), (1.6) Examples that does NOT work right: (1680 / 1050), (16 / 10)
  1284.  
  1285.  
  1286. ////---------------//
  1287. ///**SPLITSCREEN**///
  1288. //---------------////
  1289. #define USE_SPLITSCREEN 0 //[Shared] //-Splitscreen : Enables the before-and-after splitscreen comparison mode. (Only partially working right now)
  1290.  
  1291. //>Splitscreen settings<\\
  1292. #define splitscreen_mode 1 //[1|2|3|4|5|6] //-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, 6 = Curvy vertical 50/50 split
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement