Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Depth Fog
Vanilla's underwater fog looks the same whether you're 2 blocks or 200 blocks down. Depth Fog fixes that: the deeper you swim below sea level, the darker and closer the fog gets, until the abyss actually feels like the abyss.
This is a purely visual, client-side mod — no gameplay effect, no server dependency, safe to add on top of any pack (works great alongside a water pressure/damage mod, but doesn't need one).
How it works
Depth is measured from sea level (Y=62 by default) downward. As you descend toward a configurable max depth (60 blocks by default), the underwater fog smoothly blends:
- Fog color — from a light blue-green surface tint toward near-black
- Fog distance — the near/far draw planes pull in, so visibility shortens the deeper you go
Everything is a straight linear blend between a "surface" value and a "deep" value — no hard cutoffs, no flickering zones.
OPTIONAL:
Submarine-aware
If you're inside a Sable sub-level (an isolated submarine interior with air), the effect is skipped entirely by default — you won't get deep-ocean fog inside a dry, lit submarine cabin. Toggleable in the config.
Configuration
Fully configurable client-side (depthfog-client.toml):
seaLevel— Y level treated as the surface (default 62)maxDarkenDepth— depth at which the effect reaches full strength (default 60 blocks)surfaceFogRed/Green/BlueanddeepFogRed/Green/Blue— the two ends of the color blendsurfaceNearPlane/FarPlaneanddeepNearPlane/FarPlane— the two ends of the fog-distance blendskipInsideSableSubLevels— disable the effect inside Sable submarines/airships (default: on)
Requirements
- None beyond NeoForge — no Create, no other mod dependencies. Sable is an optional integration (only used if installed).
=====================================================================


