[MOD] Lighting Pack for the Enhanced Edition
argent77
Member Posts: 3,494
Shader Pack: Lighting adjustments for the Enhanced Edition
A visual enhancement mod for BG:EE, SoD, BG2:EE and IWD:EEDownload (latest)
Readme (with previews)
Description:
The original Infinity Engine games provided options to adjust brightness and contrast which helped a lot, especially in dark dungeons or at night time. Unfortunately these options have been removed from the Enhanced Editions of the games.
This mod provides a way to bring back the means to adjust brightness, contrast and gamma correction. You can choose from a set of predefined lighting configurations or enter the desired values manually.
Since version 3.0 of the mod you can also adjust color temperature as well as hue, saturation and lightness. The latter set of options has been marked as "Advanced Settings" as they are useful only in specific cases.
Note: Changes made by this mod will not be visible if you select "Alternative renderer" in the graphics options of the games.
Post edited by argent77 on
10
Comments
New version 2.1 of the Shader Pack can be downloaded from the link in the first post.
Changes:
- Added support for the latest BG2:EE update (which is currently in open beta).
Changes:
- Added support for Enhanced Edition patches v2.0
- Added check to prevent modifying files more than once
Changes:
And my question: In the instructions you say that one of the files is used for map background. What is map background?
It's basically the tileset of the map (i.e. the static background as well as water/lava overlays). Dynamic stuff such as creatures, visual effects or animations are not affected by this file.
Contrast: 1.2. Brightness: 0.1. Gamma: 1.1.
Contrast: 2.0. Brightness: 1.0. Gamma: 2.0.
Contrast: 10.0. Brightness: 10.0. Gamma: 10.0.
Am I doing something wrong?
This mod does only work with the (default) OpenGL renderer.
@argent77
Modifying saturation requires to perform some color space conversions though. I'll have to see if or how that can be done in pixel shaders first.
I finally reinstalled everything, and I still have the same problem. The general lighting adjustments work well, but the background adjustments in the file fpseam.glsl don't work, so it looks like it's a problem of mod compatibility. The mods I have installed are Ascension, Tweaks Anthology, SCS, Portraits Everywhere, Jimfix and EE UI Tweaks. Any idea of what might be causing the problem?
In the meantime could you check if there is a second instance of this file in one of the following directories, which could override your patched file?
- Documents/Baldur's Gate II - Enhanced Edition/Characters
- Documents/Baldur's Gate II - Enhanced Edition/Movies
- Documents/Baldur's Gate II - Enhanced Edition/Override
- Documents/Baldur's Gate II - Enhanced Edition/Portraits
- Documents/Baldur's Gate II - Enhanced Edition/Scripts
- Documents/Baldur's Gate II - Enhanced Edition/Sounds
- GAME/lang/xx_YY/Movies
- GAME/lang/xx_YY/Override
- GAME/lang/xx_YY/Sounds
- GAME/Characters
- GAME/Movies
- GAME/Portraits
- GAME/Scripts
- GAME/Sounds
where xx_YY is the language code of your selected game language.In addition to contrast, brightness and gamma there will be options to choose color temperature, which defines the "warmth" of a color. It's measured in Kelvin where higher values shift towards bluish tones and lower values shift towards reddish tones. The mod will come with a number of presets as well as an option to set color temperature manually.
Another set of options will allow you to modify hue, saturation and lightness. Hue shifts color frequency, so that red may become green, yellow or blue. Color saturation ranges from grayscale to oversaturation. Lightness can be seen as a different approach to brighten or darken colors.
Following are screenshots for all available (current and) new options:
Reference screenshot: Screenshot
Contrast, brightness and gamma:
Color Temperature:
Examples for Hue, Saturation and Lightness:
Version 3.0 introduces options to change color temperature as well as hue, saturation and lightness. You can preview each individual setting in my previous post above or in the readme linked in the first post.
Full changelog:
Changelog: