llde / TESReloaded10

Other
42 stars 21 forks source link

Implement night shadows #18

Closed mchaptel closed 2 years ago

mchaptel commented 2 years ago

In order to render the shadows at night, we need to grab the moon coordinates.

This is an example of how to do that in New Vegas:

https://github.com/jazzisparis/JIP-LN-NVSE/blob/main/nvse/GameData.h#L323 https://github.com/jazzisparis/JIP-LN-NVSE/blob/main/nvse/GameData.h#L387

https://github.com/WallSoGB/MoonlightNVSE/blob/main/MoonlightNVSE/main.cpp#L244

mchaptel commented 2 years ago

added thanks to @mcstfuerson

https://github.com/mchaptel/TESReloaded10/commit/37c31fa2c07f9c42589ea768a36233e3071bb6c3

Should I cherry pick this commit onto a branch on the repo? Maybe make a PR with it?