Advertisement
Guest User

2.0 preview

a guest
Feb 5th, 2012
753
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.44 KB | None | 0 0
  1. //                       _    _        
  2. // _| _ ._ _|_ |_    _ _|_  _|_ o _ | _|
  3. //(_|(/_|_) |_ | |  (_) |    |  |(/_|(_|
  4. //      |
  5. //
  6.  
  7. // HOW TO ENABLE/DISABLE DOF :
  8. // You have 4 "#define" which are enabling the different depth of field
  9. // Just type "//" before the "#define" to disable it.
  10. // Example :
  11.  
  12. // " #define EXAMPLE "  <= enabled
  13. // " //#define EXAMPLE " <= disabled
  14.  
  15. // Do you want Depth of field disabled? Then leave it like that.
  16. // It's disabled by default.
  17. // What is Depth of field ? Watch the Wikipedia article about it
  18. // http://en.wikipedia.org/wiki/Depth_of_field
  19.  
  20. #define DEPTH_OF_FIELD
  21.  
  22.  
  23. // This one enables the Dynamic depth of field, means that it auto-focuses on objects
  24. // Great for doing pictures or for some machinimas but not that great for gameplay (except FPS mod)
  25. // (Disabled by default)
  26.  
  27. //#define DYNAMIC_DEPTH_OF_FIELD
  28.  
  29.  
  30. // Quality of the depth of field :
  31. // Normal quality looks good without the dynamic DOF, It also doesn't eat so much performance.
  32. // It's the recommended one for any computers & people who want DOF.
  33. // High quality is great for dynamic DOF. It looks very nice but costs performance.
  34. // It looks also smoother than normal quality.
  35. // Recommended for screenshots & movies
  36.  
  37. // !!IMPORTANT!! DON'T ENABLE BOTH QUALITY SETTINGS.
  38. // !!IMPORTANT!! JUST DISABLE THE ONE YOU WON'T USE.
  39.  
  40. #define DOF_NORMAL_QUALITY
  41. //#define DOF_HIGH_QUALITY
  42.  
  43. // This one is to set the blur intensity.
  44. // 0.4 is the default value & recommended.
  45. // Never put it too high.
  46. // 0.8 is the max I recommend without making the image too horrible.
  47.  
  48. float BlurIntensity = 0.2;
  49. int DoF_TAPS = 60; //Change it to 8 if the DOF is taking too much perf normal quality
  50. int PixelSizeMultiplier = 1; //Change it to 2 if you use ENB SSAA
  51.  
  52. // This is where the DOF is focusing
  53. // It's (Y,X) values, means that if you want it to focus higher, do :
  54. // (0.4, 0.5);
  55. // You want it to focus more in the right, do :
  56. // (0.5, 0.6); etc...
  57.  
  58. float2  FocusPoint = float2(0.5, 0.5);
  59.  
  60.  
  61. //  _          
  62. // |_)| _ _._ _
  63. // |_)|(_(_| | |
  64. //
  65.  
  66. // Main value of bloom, using the icebloom.fx bloom only.
  67. float BloomAmountMix = 1;
  68.  
  69. // Additional image bloom, created in post-processing, not icebloom.fx related
  70. float BloomAdditive = 0;
  71.  
  72. //  _        
  73. // / _ | _._
  74. // \(_)|(_|  
  75. //
  76.  
  77. // Change the adaptation to brightness of the game.
  78. // Less value, darker game.
  79. float AdaptationValue = 1;
  80.  
  81. // Filmic curve tone mapping
  82. // Change the value from A to W to tweak like you want
  83. // W is the weight of the effect.
  84. // Remove the // before define as usual to enable the effect
  85.  
  86. //#define FILMICCURVE
  87. float A = 0.15;
  88. float B = 0.50;
  89. float C = 0.10;
  90. float D = 0.20;
  91. float E = 0.02;
  92. float F = 0.30;
  93. float W = 11.20;
  94.  
  95. // Bleach Bypass
  96. // http://en.wikipedia.org/wiki/Bleach_bypass
  97. // Mainly reduce saturation, increase the contrast & change the exposure
  98. // (Used a lot in 1.25/1.35)
  99.  
  100. //#define BLEACH
  101. float BP_factor = 0.25;
  102.  
  103. // Gamma
  104. // http://en.wikipedia.org/wiki/Gamma_correction
  105. // More gamma = More contrasted image
  106. // Less gamma = More natural image
  107. // Check the Wikipedia page to look how to set it if you have no clue
  108.  
  109. //#define GAMMACORRECTION
  110. float GammaAmount = 1/2.2;
  111.  
  112.  
  113. //                 _      
  114. //|\/|__|_ o _._  |_)|  ._
  115. //|  (_)|_ |(_| | |_)||_|  
  116. //                        
  117.  
  118. // Enable this if you want your motion blur to be more grainy,less ghost effect
  119. #define NormalMB
  120. //#define AlternativeMB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement