缺氧
197 个评价
光线更平滑 (原版/DLC)
   
奖励
收藏
已收藏
取消收藏
Mods: Tweaks
文件大小
发表于
更新日期
387.771 KB
2019 年 8 月 19 日 上午 9:43
6 月 13 日 上午 8:57
24 项改动说明 ( 查看 )

订阅以下载
光线更平滑 (原版/DLC)

描述
重写了光线范围算法,使得光线形状和亮度相比原版更加平滑,可配置是否允许光线穿过网格砖/透气砖.

2024-07-20 21:45:20
刚测了下发现跳出,简化修改了实现方式,新增了一个参数用来自定义控制光照范围容差(对所有光照建筑物生效,谨慎调整使用)

具体参数

新增配置界面,用PLib实现,MOD开启时即可看见配置按钮,修改配置后最好是重启游戏以使配置生效。

- LightThroughMeshTiles: true -> 光线可以穿过网格砖/透气砖; false (默认值) -> 不能
- LightRangeTolerance: 1 -> 光照范围容差,数值越大、光照范围越大
- 默认值为1比原版略大比之前的调整版略小
- 设置为4则与旧版实现调整后的光照范围相等

已知缺陷

- 仍在微调平衡性,欢迎建议。

相关链接

- My GitHub[github.com]
- [Oxygen Not Included] - Mods and Tools - Klei Entertainment Forums[forums.kleientertainment.com]
- Oxygen Not Included Database by Fabrizio Filizola[oni-db.com]
- peterhaneve/ONIMods/PLib[github.com]
50 条留言
leonlx126 2024 年 8 月 16 日 上午 3:37 
电灯泡(Ceiling Light)的亮度范围似乎没有变化,我改了 LightRangeTolerance 为 4,至少看上去不是你截图里那样的
leonlx126 2024 年 8 月 14 日 上午 5:11 
可以增加个修改亮度的选项吗
hazimemasite 2024 年 3 月 6 日 上午 3:09 
good QoL mod
csfireworks 2024 年 1 月 13 日 上午 7:07 
好评~可用~work great 24.01.13
Theou 2023 年 11 月 18 日 下午 3:41 
Does the work with the Newer darkness expanded mod?
TGIF-42 2023 年 11 月 9 日 下午 12:30 
Your GitHub link seems to be outdated, so I can't post this there. I'm hoping you might have time for a feature request. Configuration for Opacity (light absorption levels for Mesh, Airflow, Glass, Pneumatic Doors, and Liquids... maybe for different Gases too?). Your mod is by far the best lighting overhaul I've come across, and these additional configs would make it even better. Thanks for the awesome work, @Vincent!
Colorado Dyes 2023 年 10 月 18 日 上午 1:40 
There's no mods that add additional light types. LED lights, halogen lights, xenon lights, whatever.. I think it would be cool if someone's mod took it's place
꧁༺Vïñçï༻꧂  [作者] 2023 年 6 月 5 日 上午 6:19 
@Shrglwyddes
Judging by the name, probably Lights Expanded and Smoother Lights are conflict.
Shrglwyddes 2023 年 6 月 3 日 上午 12:57 
Currently I have observed light cones from ceiling lights consisting of 1 square total. Disabling this mod caused light cones to return to normal sizes. Can anyone confirm whether this mod is working correctly or not?

Currently playing with Lights Expanded, Smoother Lights, and Darkness Not Excluded.
꧁༺Vïñçï༻꧂  [作者] 2022 年 11 月 8 日 上午 4:17 
@教皇 没有哦,只是对范围进行了调整,使得边缘更圆滑了,没有改动其它部分,其实吧,性能这块问题没什么办法的,越到后期需要计算的资源就越多,这个计算量对CPU算力的需求不会凭空消失呀,也不可能随便偷懒省略(虽然估计已经有一定程度的简化了)否则肯定会出BUG,类似的游戏都有这个共同问题吧,也不怪克雷。或者解决方案是用GPU的超高算力来代替CPU做部分计算?:woodleface: