Unborks the brightness when using HDR lighting in the Direct3D 10 renderer
This hdr.fx file disables the brightness auto-adjustment effect that occurred when using the HDR lighting feature in the D3D10 renderer (ClassicLighting = False).
The brightness would dynamically darken in the presence of bright lights, but would take up to 30 seconds to readjust, apparently for attempted realism.
This created real problems during gameplay whenever bright flashes or many light sources were viewed at once, e.g. from explosions.
The preview image shows the lasting effect of looking at several flares before and after the fix. The game would become unreasonably dark before, but renders without issue after the fix.
To install, drop the hdr.fx file into "Deus Ex\System\d3d10drv\", backing up the original as desired.
Be sure to have ClassicLighting set to false in gmdx.ini and the Direct3D 10 renderer selected in the Kentie's launcher configuration options to enable HDR lighting in the first place.
All credit goes to Veronika, who gave me permission to upload this addon. All I did was add a preview image and this readme file.
-RoSoDude
Does jack ****, everything is still dark.
Use Reshade
Thanks for this, it works perfectly for me. I didn't even realize how bugged the lighting was before applying this fix.
edit this line in the hdr.fx file
float fNewAdaptation = fAdaptedLum + (fCurrentLum - fAdaptedLum) * ( 1 - pow( 0.995f, 30 * elapsedTime ) );
output.color = fNewAdaptation;
change to 60 or 120 and keep eye adaptation
This comment is currently awaiting admin approval, join now to view.
Hey! I did something similar many many years ago, please take a look at it and steal whatever you like!
Mega.nz