THIS MOD REQUIRES THE FABRIC API.
I might work on a Forge version in the future, but I make no promises.
This started out as just an effort to reproduce the Optifine "fog distance" toggle (which makes the fog start much closer to the camera like it did in older versions of the game), but now it also allows swapping to the other two fog types (EXP and EXP2) with customizable densities for all.
Also, if you have any feature requests or bug reports, please report / ask for them on GitHub!
Or, alternatively, join the Discord Server here!