Mod: Dynamic Depth Of Field Shaders 1.02
S.T.A.L.K.E.R.: Shadow of Chernobyl: All Downloads (668) Patches (12) | Mods (650) | Movies (4) | Others (1)
This shader mod adds dynamic depth of field (DOF) as well as zoom DOF, those great visual effects known from newer games such as CS, CoP, Crysis, and FarCry 2. It's fully compatible most other mods.
Expand Full Description & Credits
- File Instructions:
- DYNAMIC DEPTH OF FIELD SHADERS
for S.T.A.L.K.E.R. Shadow of Chernobyl
Author: Meltac (C) 2011
This small mod adds dynamic depth of field (DOF) as well as zoom DOF in r2 render mode (dynamic lighting). It is built onto STALKER Shaders MAX 1.02 by Kingo64, which is built on Sky4Ace shaders, which incorporated DOF only for long distances, and statically.
This mod is compatible with 98% of other mods and is highly recommended.
Near Field DOF: Unlike in the original shaders from Sky4Ace, not only objects far away but also those to which you are very close will be blurred (when you don't focus them).
Full Dynamic DOF ("auto-focus"): The depth effect depends on your target distance, meaning that objects which are further away or much closer than those you are focusing will be blurred - the way your digital camera does it in auto-focus mode. This effect is well-known from Stalker CoP and other newer games.
Zoom DOF: When zooming in weapon aim mode (with or without scope), the regions further away from the screen center will be continuously blurred, like in other games (e.g. Far Cry 2). This effect was requested long ago by the community but so far nobody had found a way to realize it because it can't be done by shaders only but needs some scripting.
Alternative blur algorithms: In addition to the classic method by Sky4Ace, a simple gaussian blur algorithm is provided to incorporate the intended depth effect. Users may choose which one to have the work done (using a console setting).
Heavy configurable: All the above effects may be deactivated or adjusted to your favor (check shaders/r2/ShaderSettings.txt).
Compatibility with other mods:
Tested with patches 1.0004, 1.0005, and 1.0006
Works only with dynamic lighting / r2 render mode
Doesn't work in combination with any other shader mod; however, should be easily merged into Sky4Ace shaders.
Should work besides that with any other mod; however merging of the bind_stalker.script file might be required.
Please backup your user.ltx file prior to installing the mod because it will be modified (affects only r2_aa settings).
The used blur algorithm can be selected with the console setting r2_aa_kernel with the values 0.3 for classic and 0.7 for gaussian blur.
To take full advantage of the zoom DOF effect I recommend the use of the Gnomus Scopes mod.
General merging procedure (if you have installed other mods):
Copy the "shaders" folder of this mod into your "gamedata" folder. If there was already such a folder, you might want to backup it prior to replacing with mine.
Copy the "shader_control.script" file into the "gamedata/scripts" directory.
Open your "bind_stalker.script" file in the "gamedata/scripts" directory, and within the function "actor_binder:update(delta)" add a new line with "shader_control.Update()". If no "bind_stalker.script" file is present, simply copy mine.
That's all - have fun!
Usage & Credits:
You may use, modify, and deploy this mod as long as you are giving credit to the authors:
Kingo64 for the original STALKER Shaders MAX (which in turn is a shader compilation; see those authors)
Meltac for this dynamic depth of field shader additions.
Many thanks to everybody who helped developing this mod, especially those awesome modders at GSC forums!
|File Name: Dynamic_Depth_Of_Field_Shaders_By_Meltac_1.02.zip|| Author: Admin
|File Size: 124 KB||Files Added: 11,451|
|Downloads: 371 (2 last week)||Author Downloads: 18,977,353 (26,815 last week)|
|Posted: 13.10.2011||Supporters: n/a|