minetest-mods / nether

Nether mod for Minetest
https://forum.minetest.net/viewtopic.php?f=11&t=5790
19 stars 26 forks source link

climate_api support - add distance fog #38

Closed Treer closed 3 years ago

Treer commented 3 years ago

Add appropriate/atmospheric distance fog to the nether, via climate_api mod to avoid conflicting with other mods. Any game or server with climate_api mod installed will be expecting climate_api to take control of sky values.

Skylayer is another mod which could perform that role, but supporting it will require a little more code - see comments in code.

There's also some related refactoring.

nether-fog My screenshots are often too dark when displayed on other devices, so the shot above probably isn't representative of how it looks in-game.

SmallJoker commented 3 years ago

Thanks for the changes. I didn't test this PR yet but the code seems to be okay.

Treer commented 3 years ago

Damn, I meant that to be a squash commit