After doing so, Project ENB, Seasons of Skyrim, and listless other ENBs I installed would not work correctly. There were vague changes to the game, but overall it appeared that few, if any, effects were working. So here is the laundry list I've gone through to try and remedy the issue. Versions for TES Skyrim, GTA 4, Deus Ex Human Revolution are not working as generic for different games. If you wish to modify some game, download several versions of ENBSeries and try them all, which will look better, without graphic artifacts and with as much effects as possible. Of course manual tweaking of configuration file must be done. If you installed it and you start skyrim you will see enb overlay on top left, with version number etc. And USUALLY you can dis/enable enb graphics via shift+f12. Edit: you can check enbseries if dof is set to =true. Or you can check it ingame, while pausing the game. Usually it's shift+enter (but some enb authors change that) you will also fin. ENB DOF is simply activated within the enbseries.ini (in the ENGINE section - EnableDepthOfField=true) and runs from the settings and code within enbeffectprepass.fx. For a quick test I've just installed the ENB that Fimbulvinter v3.0 uses (v121212) then overwrote these files with Fimbulvinter v3.0 files and DOF worked fine for me.
[DEPTHOFFIELD]
File configuration (INI) for this effect is very simple. It contains three parameters, from which actually only one has noticable influance on how the depth of filed effect works. And that is FadeTime:
The parameter controls the time (seconds) in which camera will focus to a certain distance (acquired from a focal point; usually a distance sampled for the center of the screen, but it depends on the actual implementation of the effect).
Quality parameter controls the quality of the effect, should the enbeffectprepass.fx file be setup for this - most are not so this will never do anything. Otherwise, the lower the value set to the parameter, the bigger the effect quality, supposedly.
Last of the INI parameters in this section is IgnoreWeatherSystem. This is present in most of the other sections as well. The parameter works only when multiple weathers are enabled.
DoF in-code parameters
Note, that not only the depth of field effect can be applied in the enbeffectprepass.fx file. Different ENB code additions introduced a number of other, simple effects, applied along with DoF.
Most of the DoF settings can be changed in the enbeffectprepass.fx FX file itself. With current ENB version these parameters can be changed in-game, via ENB GUI as well. All variables defined in a proper manner are exported to enbeffectprepass.fx.ini file for easier configurability, i.e. one donnot need to change their value within the code itself, but do as like with any other parameters from main INI configuration file. An example of a variable from this effect file is showed below:
As we can see, most improtant part of the above definition is the part describing the user interface (UI) components for the variable. According to the information ENB creates an entry in relevent INI file and at in-game GUI. First essential parameter of the UI setup is UIName of the variable - this string defines an identifier for the variable in both INI file and GUI. Via the name we can configure the variable as described above.
Other parameters can be omitted, depending on the type of the variable. In case of a boolean (the one that can only have values false or true), the UIName parameter is the only one used. In case of numeric types on the other hand, like int (integer number) and float (floating-point, real number), we have UIMin and UIMax. As their names state they define minimum and maximum values that the variable can have.
Next important parameter here is UIWidget. It configures the way how the variable can be changed. There are two essential values the parameter can have - Spinner and Color. First of them allows changing the value using arrows (visible at in-game GUI) and refers to numeric types (mostly float). The value ranges between number given with UIMin and UIMax parameters. The latter option is used in regard to 3-element floating-point vectors float3, and allows to define them as RGB or HSV color (the actual value stored in INI file is always RGB).
Enb Not Loading
The above description of the in-code parameters refer to all effect files and their variables. INI files containing values of the varibles are created in the enbseries subdirectory (the same place where weather configuration files are located). The default values of the variables are defined at the end of the UI parameters setup.
Matso (talk) 04:58, May 12, 2015 (EDT)