Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
22
Size
134KB
ADDatHost Valheim hosting
30% off

MistOptimizer

Smoother Mistlands without losing the mist. A client-side Valheim mod for BepInEx 5.

What it does

The Mistlands mist is thousands of large, lit, see-through particles. Vanilla lets a single particle grow to 55 times the screen, so particles a few metres from the camera each cover the whole screen and the graphics card redraws it again and again. The drops are worst when you turn and look back into the mist you just walked through.

MistOptimizer caps a particle at the size of one screen. A particle can never show more than the whole screen, so the mist looks the same, but the card draws far less. In a short test on an RTX 4060 at 1440p, the lowest framerate in thick mist rose from about 33 to about 58 FPS.

Only you need it: it changes how your game draws the mist, nothing in the world.

Settings

Setting Default What it does
Mist.MaxScreenSize 1 Largest mist particle as a fraction of the screen. 1 looks like vanilla; 0.75 is faster with a slightly lighter mist close by; 0.5 is faster still but the mist thins out while you move; 55 is vanilla.
Mist.FixEmissionRate false Vanilla adds mist more often the higher your framerate (15 times a second at 75 FPS instead of 10). On, it adds mist 10 times a second, which thins it a little above 50 FPS.
Diagnostics.ReportSeconds 0 Seconds between mist statistics in the BepInEx log while you are in the mist; 0 is off.

Console commands (F5), no devcommands needed:

  • mistscreen 0.75 sets the size and saves it; mistscreen off is vanilla.
  • mistfix on / mistfix off switches the emission rate fix.
  • mistreport prints the live mist statistics.

Installation

Install BepInExPack_Valheim 5.4.2350 in your mod profile. Copy MistOptimizer.dll from a release ZIP into BepInEx/plugins/MistOptimizer/, then start the game modded.

Build

bun install --frozen-lockfile
dotnet build src/MistOptimizer/MistOptimizer.csproj -c Release -t:Package \
  -p:GameDir="/path/to/Valheim" \
  -p:BepInExDir="/path/to/profile/BepInEx"

Requires .NET SDK 8 and Bun 1.4.1+. Output: artifacts/MistOptimizer-1.0.0.zip.

Development and releases · Repository layout · Using the template

License

MIT. Copyright (c) 2026 AugusDogus, sz3ry. Generated projects use the current year for their initial copyright notice. Preserve third-party notices when adding code or artwork from another project.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.