llde/TESReloaded10

Fix fog attenuation of shadows

Closed this issue · 2 comments

Currently the code attenuating the shadows does very little, it would be good to figure out how to correctly fade out the shadows with distance/fog

https://github.com/llde/TESReloaded10/blob/master/Extra/Shaders/NewVegasReloaded/Effects/ShadowsExteriors.fx.hlsl#L228.

20220917 16 20 32

Faked some attenuation based on depth, but I think for New Vegas the hooks are wrong as all values seem to be null.

We could look at the hooks in Jip https://github.com/jazzisparis/JIP-LN-NVSE/blob/main/nvse/GameData.h#L448

20220917 23 39 51

fixed by #45