You are viewing a potentially older version of this package. View all versions.
eliteghg-FogVisualOnly-1.0.0 icon

FogVisualOnly

FogVisualOnly - removes Visual Fog for PERFORMANCE

Date uploaded 3 weeks ago
Version 1.0.0
Download link eliteghg-FogVisualOnly-1.0.0.zip
Downloads 28
Dependency string eliteghg-FogVisualOnly-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301

README

FogVisualOnly

A BepInEx plugin for PEAK that removes fog visuals to boost FPS while preserving fog damage.

Features

  • Remove atmospheric fog, rising sphere fog, particles, plane, animations, shadows, VFX, sounds, colliders allllll seperatly
  • In-game floating settings window (F3 to open/close)
  • Fog damage is always active regardless of visuals — fully safe with vanilla players online

Installation

  1. Install BepInEx into your PEAK game
  2. Copy FogVisualOnly.dll to BepInEx/plugins/
  3. Launch the game

Settings

Fog Toggle

The large button at the top of the SETTINGS tab controls fog visibility.

  • FOG: OFF (green) — All fog visuals are removed. This is the default for maximum FPS. Your current settings are saved automatically.
  • FOG: ON (red) — Fog visuals are restored to their previous state. Toggle back to instantly re-apply your saved settings.

Toggling fog OFF saves a snapshot of your current visual/performance settings. Toggling it back ON restores that snapshot. This means you can freely tweak settings while fog is off, then switch back to your customized look with one click.

Max FPS

The most aggressive performance preset. Everything fog-related is disabled.

Setting Value
Atmospheric Fog OFF
Rising Sphere OFF
Atmospheric Opacity 0
Sphere Opacity 0
Fog Particles OFF
Fog Plane OFF
Fog Animations OFF
Fog Shadows OFF
Fog VFX OFF
Sphere Shadows OFF
Sphere Particles OFF
Sphere Animations OFF

Balanced

Keeps a faint atmospheric haze for atmosphere while disabling heavy effects.

Setting Value
Atmospheric Fog ON (visible)
Rising Sphere OFF
Atmospheric Opacity 0.3
Sphere Opacity 0.4
Fog Particles OFF
Fog Plane ON (visible)
Fog Animations ON (visible)
Fog Shadows OFF
Fog VFX OFF
Sphere Shadows OFF
Sphere Particles OFF
Sphere Animations OFF

SphereOnly

Removes atmospheric fog completely but keeps the rising sphere with all its effects.

Setting Value
Atmospheric Fog OFF
Rising Sphere ON (visible)
Atmospheric Opacity 0
Sphere Opacity 0.4
Fog Particles OFF
Fog Plane OFF
Fog Animations OFF
Fog Shadows OFF
Fog VFX OFF
Sphere Shadows ON (visible)
Sphere Particles ON (visible)
Sphere Animations ON (visible)

Visuals

Controls the two main fog types in the game.

Setting Description Default
Atmospheric Fog ON = fog is visible. OFF = atmospheric fog renderers are disabled entirely. OFF
Rising Sphere ON = the rising sphere fog is visible. OFF = sphere fog renderers are disabled entirely. ON
Atmospheric Opacity Fades atmospheric fog from 0 (invisible) to 1 (full). Only affects rendering when Atmospheric Fog is ON. 0
Sphere Opacity Fades sphere fog from 0 (invisible) to 1 (full). Only affects rendering when Rising Sphere is ON. 0.4

Tip: Use opacity sliders instead of toggling fog OFF to keep partial visibility while still gaining FPS.

Performance

Disables non-renderer fog components for additional performance gains.

Setting Description Default
Fog Particles Disables particle emitters on fog objects. Stops fog particle effects from spawning. ON
Fog Plane Disables the fog plane mesh renderer. Removes the flat fog plane covering terrain. ON
Fog Animations Stops Animator components on fog objects. Prevents fog from moving/swirling. ON
Fog Shadows Disables shadow casting on atmospheric fog renderers. Reduces shadow map overhead. ON
Fog VFX Disables VisualEffect components on fog objects. Stops any VFX Graph-based fog effects. ON

Sphere

Separate controls for the rising sphere's effects. Independent from the PERFORMANCE section so you can keep sphere visuals while disabling atmospheric ones.

Setting Description Default
Sphere Shadows Disables shadow casting on sphere-specific fog renderers. OFF
Sphere Particles Disables particle emitters on the sphere. Stops the sphere's particle trail. OFF
Sphere Animations Stops Animator components on the sphere. Freezes sphere movement animations. OFF

Audio & Physics

Non-visual fog components. These affect gameplay, not FPS.

Setting Description Default
Fog Sounds Mutes all AudioSources found on fog/mist/haze GameObjects. ON
Fog Colliders Disables all Colliders on fog objects. OFF

Note: Fog damage is always active regardless of these settings. Disabling colliders does not disable fog damage.

Reset to Vanilla

The red RESET TO VANILLA button at the bottom of the SETTINGS tab resets every setting to its default value and captures vanilla as the saved state. Requires a double-click to confirm.

Appearance

Customize the look of the settings window from the APPEARANCE tab.

Setting Description Default
Window Opacity Transparency of the settings window from 0.3 (very transparent) to 1 (fully opaque). 0.92
Text Scale Scales all text in the menu from 1.3x to 2x. 1.3
Corner Radius Rounds the corners of UI elements from 0 (sharp) to 16 (very rounded). 8
Remember Position When ON, the window stays where you last dragged it. When OFF, it re-centers on open. ON

Window Focus

Setting Description Default
Halo Strength Adds a multi-layer dark glow around the window for depth. 0 = off, 12 = maximum halo. 4
Fullscreen Darken When Open Dims the entire screen when the menu is open. ON
Fullscreen Darken Strength How much the screen darkens from 1 (subtle) to 10 (nearly black). 5

Compatibility

  • Conflicts with CoddingCat-FogRemover — disable that mod first
  • Fully safe with vanilla players online (local visual only)
  • Uses MaterialPropertyBlock — no material cloning
  • All settings are saved to BepInEx/config/com.peaked.fogvisualonly.cfg

Building

Requires .NET 8.0 SDK targeting .NET Framework 4.7.2.

dotnet build FogVisualOnly.csproj -c Release

Output: bin/Release/net472/FogVisualOnly.dll

CHANGELOG

Changelog

v2.0.0

Basically Full rework — cleaner internals, better performance, polished UI and maybe new bugs.

Core

  • Split dirty flag: scene rescan (OnSceneLoaded) vs value-only apply (sliders, toggles, presets) — dragging sliders no longer triggers a full object cache rebuild
  • Sphere subtree classification — all descendants of FogSphereSystem registered, not just renderer owners (animators/colliders/particles on child objects now properly tracked)
  • _BaseColor support — URP/HDRP fog materials now respect opacity sliders
  • ParticleSystem caching — emission paused on apply, resumed on restore
  • Sound/collider toggles fully wired to SettingChanged
  • UnpatchSelf() on unload — Harmony patches cleaned up on destroy

UI

  • Tabs renamed FOG / SETTINGS with procedural 22px gear icon
  • Glass-style tab outlines with wobbly asymmetric radii and glow animation
  • Tabs are content-hugging (measured once via CalcSize, not full-width)
  • 10px breathing room under tab row
  • Scrollbar thumb reworked — proper pill shape (radius 3, not ellipse)
  • Slider label row breathing room (30px height, 6px left padding)
  • Slider drag identity via object reference, not rect equality
  • Window position persists across sessions (clamped on-screen)
  • OnApplicationFocus insurance — clears drag state on alt-tab

Bug Report

  • Reads real version from BepInPlugin attribute (not hardcoded)
  • Log capture reads while game holds file open, multiple path fallbacks
  • Tail-reads last 8KB, code-fence sanitization
  • Empty submit validation (title or description required)
  • GitHub checkbox with GL-drawn tick/X marks

Removals

  • Accent color system fully removed (config entry, HSV picker, SanitizeAccent, RefreshAccent)
  • Subheadings are plain white bold + divider line
  • Dead code deleted (unused styles, duplicate helpers, stale fields)

Safety

  • Global skin restore on menu close + OnDestroy
  • All button styles have active states (no 1-frame flash)
  • NaN/Inf accent sanitizer
  • Drag state reset on open AND close (prevents softlocks)
  • Reset tab + activeDrag + keyboard focus on menu open

v1.2.1

  • Updated to right license
  • Nicer README

v1.0.1 – v1.0.8

  • Initial release with full fog removal (atmospheric, sphere, particles, plane, animations, shadows, VFX, sounds, colliders)
  • F3 settings menu with presets (Max FPS, Balanced, SphereOnly)
  • Settings and Appearance tabs with styled UI
  • BepInEx Configuration saving
  • Full HSV color picker with hex input and R/G/B fields
  • Fullscreen darken overlay behind settings window
  • Halo strength slider for multi-layer glow effect
  • Added bug report popup with clipboard copy + GitHub issue link
  • Clickthrough fix* (main window hidden while popup open)
  • Fixed bug report version label (now reads real version from attribute instead of hardcoded 1.0.0)
  • Fixed log capture (reads file while game holds it open, tries multiple log paths, clear error messages)
  • Added GitHub issue page checkbox (on/off toggle with visual feedback)
  • Auto-growing textboxes for description and steps fields