深度雾
原版的水下雾气在你位于水下 2 格或 200 格时看起来并无区别。Depth Fog 修复了这一问题:你在水面以下游得越深,雾气就越浓密、能见度越低,直到深渊真正感觉像深渊。
这是一个纯视觉的客户端模组——没有游戏玩法影响,无需服务器依赖,可以安全地添加到任何整合包中(与增加水压/伤害的模组搭配效果极佳,但并非必需)。
工作原理
深度是从海平面(默认 Y=62)向下测量的。随着你向可配置的最大深度(默认 60 格)下沉,水下雾气会平滑过渡:
- 雾气颜色 — 从表面浅蓝绿色调过渡到接近黑色
- 雾气距离 — 近/远裁剪平面逐渐拉近,使得你下潜越深,可见度越短
所有内容都在“表面”值和“深处”值之间进行线性混合——没有硬性截止,也没有闪烁区域。
可选功能:
潜艇感知
如果你身处 Sable 子层级(一个带有空气的孤立潜艇内部),该效果默认会被完全跳过——你不会在干燥且点亮的潜艇舱内看到深海雾气。此功能可在配置文件中切换。
配置
完全可配置的客户端文件 (depthfog-client.toml):
seaLevel — 被视为表面的 Y 坐标(默认 62)
maxDarkenDepth — 效果达到最大强度的深度(默认 60 格)
surfaceFogRed/Green/Blue 和 deepFogRed/Green/Blue — 颜色混合的两个端点
surfaceNearPlane/FarPlane 和 deepNearPlane/FarPlane — 雾气距离混合的两个端点
skipInsideSableSubLevels — 禁用 Sable 潜艇/飞艇内的效果(默认:开启)
需求
- 仅需 NeoForge —— 不需要 Create,也无其他模组依赖。Sable 为可选集成(仅在已安装时使用)。
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/Blue and deepFogRed/Green/Blue — the two ends of the color blend
surfaceNearPlane/FarPlane and deepNearPlane/FarPlane — the two ends of the fog-distance blend
skipInsideSableSubLevels — 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).
=====================================================================
评论 0
登录后参与评分
还没有评论,来抢沙发吧