R.E.P.O.
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
2.6K
Size
12KB
Edited · Nov 2, 2026

FogClear

R.E.P.O. 去雾与视野距离扩展模组(BepInEx 5 / Harmony)。

在保留原版氛围的前提下移除房间浓雾,同时扩展摄像机远裁剪、灯光激活距离与阴影距离,让远处房间与物件清晰可见。

//如果有任何问题,请与我联系↓
//If you have any questions, please contact me ↓

邮箱Email: [email protected]
QQ: 670155978

功能

  • 全局去雾:强制关闭房间浓雾(RenderSettings.fog),防止 SpectateCamera 等状态机每帧重新开启。
  • 视野距离扩展:将真实渲染相机 farClipPlane 提升至可配置目标值(默认 36m),远处几何体不再被裁剪(默认关闭以减少卡顿,可在 cfg 中开启)。
  • 灯光激活距离扩展:覆盖 GraphicsManager.lightDistance(原版仅 10~30m),点亮远处区块的灯光与发光材质。
  • 阴影距离扩展:提升 QualitySettings.shadowDistance,远处物体阴影正常投射。
  • 写入节流:提供 WriteThrottleFrames 节流选项(默认 0 = 关闭,每帧检测到差异即写,保持原版行为;调大可降低写入频率)。
  • 热键切换:默认 \ 键随时开关去雾(cfg 可改)。
  • Hotkey switching: By default, the ' \ ' key can toggle defog anytime (cfg can be modified).

配置

首次运行后编辑 BepInEx/config/com.fogclear.repo.cfg:

Section Setting Default Description
General Enabled true 启动时是否自动开启去雾
General ToggleKey Backslash 去雾开关热键
General WriteThrottleFrames 0 视距相关实际写入的节流帧数(默认 0 = 关闭节流,每帧检测到差异即写)
ViewDistance ExtendViewDistance false 启用摄像机 farClipPlane 拉远(默认关闭)
ViewDistance FarClipPlane 36 目标远裁剪距离(默认 36,可酌情调高)
ViewDistance ExtendLightingDistance true 扩展灯光/阴影距离
ViewDistance LightDistance 35 灯光激活距离(米)
ViewDistance ShadowDistance 30 阴影距离(米)

安装

  1. 安装 BepInEx 5(REPO 对应版本)。
  2. 将 FogClear.dll 放入 BepInEx/plugins/。
  3. 启动游戏即可生效;按 \ 切换去雾开关。
  4. 更新模组后建议删除原cfg文件。

说明

  • 纯客户端模组,仅影响本地画面,不影响其他玩家,无需主机权限。
  • 已在本地实测:去雾、远视距区块加载、灯光/阴影距离均验证通过。
  • 提高 farClipPlane 与灯光距离会增加渲染开销,低配机器请酌情调低 LightDistance / ShadowDistance。
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.