Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
BetterFog
Replaces REPO's original fog with configurable radial fog.
| Last updated | an hour ago |
| Total downloads | 42 |
| Total rating | 2 |
| Categories | Mods Misc Client-side AI Generated Quality Of Life |
| Dependency string | carnuke-BetterFog-0.2.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
BetterFog
BetterFog replaces REPO's built-in fog system with a custom shader.
REPO's built-in fog is not uniform in all directions around the player. This causes fog to appear further away in the player's peripheral vision, allowing them to see further into the map when looking from odd angles. BetterFog solves this by using a cyllinder-shaped fog that is always the same distance from the player in all directions.
BetterFog uses a custom Unity full-screen shader to reconstruct each visible surface's position, then applies fog from the surface's radial distance to the camera. The start and end distances are configurable, but the default values were chosen to match the feel of the built-in fog as closely as possible. This mod was made using AI generated code.
Installation
- Install BetterFog through Thunderstore Mod Manager.
- Launch REPO through the modded profile.
Configuration
After launching the game once, edit BepInEx/config/carnuke.betterfog.cfg.
Enable Better Fog: Enables BetterFog's radial fog. Default:true.Start Distance: Distance in world units where fog begins. Default:8.End Distance: Distance in world units where fog reaches full strength. Default:16.Shop Start Distance: Distance in shop levels where fog begins. Default:60.Shop End Distance: Distance in shop levels where fog reaches full strength. Default:300.
One level module is 15 world units long.
Known Limitations
BetterFog causes a few minor visual issues:
Fog rendered over death pit liquids can sometimes look strange. This is because the shader renders fog for the geometry that is normally hidden by the liquid texture.
One room in Swiftbroom Academy has glass ceiling textures that should be opaque but are not.
Support
Project page: https://github.com/carnuke/BetterFog
Credits
- Author: carnuke