mcsmp is a light CLI project manager that gets mods and resourcepacks from Modrinth. One of it's strengths is that it can handle multiple folders, and support a large type of project (mod, resource ...
Mojang has added a fog shape uniform to dictate if the fog should be spherical or cylindrical in 22w03a. Once 1.18.2 releases, OptiFine should preferably pass this to shader packs.