This ENB(enbeffect.fx) Simple Night Vision Adjust slightly tweaks Weapons Night Vision, "Night Person" perk, VATS and Pause Menu at same time.
The Night Vision effect in Vanilla is very weak but can "annoy" some people.
The last quest in Institute with the "Night Person" perk and with stealth power armor is the worst case scenario, even in Vanilla.
In ENB presets with over or under brightness/contrast changes a fine adjustment of Night Vision properties becomes essential for good gameplay.
Here a example:
https://www.youtube.com/watch?v=6UXyBMCDAUs
Regarding the code, a simple change in a float 3 value to avoid any scenario incompatibility(ever ≥0) taking into account that the effect can be used by other relevant functions in the code.
enbeffect.fx:
Between original Lines 165 and 166
Code: Select all
bool NVEnable
<
string UIName="CC: Activate NV lens settings";
> = {true};
float NVLensLevelExterior
<
string UIName="CC: NV lens exterior level";
string UIWidget="Spinner";
float UIMin=0.0;
float UIMax=20.0;
> = {1.0};
float NVLensOffsetNight
<
string UIName="CC: NV lens exterior night offset";
string UIWidget="Spinner";
float UIMin=0.0;
float UIMax=20.0;
> = {0.0};
float NVLensLevelInterior
<
string UIName="CC: NV lens interior level";
string UIWidget="Spinner";
float UIMin=0.0;
float UIMax=20.0;
> = {1.0};
float3 NVLensColor
<
string UIName = "CC: NV lens color filter";
string UIWidget = "color";
> = {0.2125, 0.7154, 0.0721};
Code: Select all
float3 NVlens;
NVlens = float3(0.2125, 0.7154, 0.0721);
if (NVEnable)
{
NVlens = NVLensColor*((NVLensLevelInterior*EInteriorFactor)+((NVLensLevelExterior+(NVLensOffsetNight*(1-ENightDayFactor)))*(1-EInteriorFactor)));
}
Alteration in original Line 317
Code: Select all
r0.x = dot(r1.xyz, NVlens);
Thanks Boris for ENB and the rich documentation.