Guide:ENBseries INI/Colorcorrection

From STEP Modding Wiki


The [COLORCORRECTION] section will allow a gradient image, called a color palette, to be used which is blended over the entire scene. The color palette can be any gradient colors. This section also allows the adjustment of overall scene brightness and gamma; however, before adjusting the Brightness or GammaCurve parameters, it is recommended to be sure the monitor in user is properly calibrated. Authors, keep in mind the parameters here will affect all users of the ENB Preset.


This parameter determines whether or not the included color palette image is used. The color palette will be named enbpalette.bmp. The palette is a mix of tonemapping and color correction in one. The idea is that depending on how bright a certain pixel is, it will be shifted to whatever corresponding value you have in the .bmp file. To use this the required code must be present and enabled in the enbeffect.fx file. Likewise if the code is enabled in enbeffect.fx, then this parameter needs to be enabled or a black screen will result. This feature can reduce image quality, depending on the code used, but especially depending on the quality of the enbpalette.bmp image used. Also, for this parameter to work UseOriginalPostProcessing must be disabled.

UsePaletteTexture=(false, true)
*The palette texture used below was a simple black to white gradient.

UsePaletteTexture=false  UsePaletteTexture=true


This parameter will adjust the brightness of the overall scene. This can help if users are using different in game brightness settings and need to tweak for preference. Values range from 0.0 which is nearly pure black to 100.0+ which is nearly pure white.


Brightness=1.0  Brightness=1.5  Brightness=2.0


This parameter will adjust the gamma of the overall scene. This can help if users are using different in game brightness settings and need to tweak for preference. Values range from 1.0 to 2.5.

GammaCurve=(1.0 ... 2.5)

GammaCurve=1.0  GammaCurve=1.7  GammaCurve=2.5


This parameter enables the LDR/"Photoshop" color corrections found within the enbeffect.fx file. The actual code is located in the default enbeffect.fx file that comes with any ENBSeries version newer than v0.215. The variables can be alter both in the file itself or using the ENBSeries GUI for easy in-game customization.

UseProceduralCorrection=(false, true)
*In the second and third images below all of the shader variables have been altered to show different effects.

UseProceduralCorrection=false  UseProceduralCorrection=true  UseProceduralCorrection=true

When enabled, the below variables found in the enbeffect.fx file or in Shader Window and choosing ENBEFFECT.FX of the in-game GUI menu can be altered which provides far more control over several color correction effects. Using the GUI, make sure ENBSeries is chosen at the top of the ENBEFFECT.FX menu to ensure the ENBSeries code is rendered. The Vanilla option will render the vanilla game code.

ECCGamma=(0.2... )
ECCInBlack=(0.0... )
ECCInWhite=(0.0... )
ECCOutBlack=(0.0... )
ECCOutWhite=(0.0... )
ECCBrightness=(0.0... )
ECCContrastGrayLevel=(0.01... )
ECCContrast=(0.0... )
ECCSaturation=(0.0... )
ECCDesaturateShadows=(0.0... )
ECCColorBalanceShadows=(0.0, 0.0, 0.0... )
ECCColorBalanceHighlights=(0.0, 0.0, 0.0... )
ECCChannelMixerR=(0.0, 0.0, 0.0... )
ECCChannelMixerG=(0.0, 0.0, 0.0... )
ECCChannelMixerB=(0.0, 0.0, 0.0... )