模型间隙修复
这是一个简单的客户端模组,用于修复 ,该问题会影响方块模型和物品模型,可能还会影响其他模型。
该模组通过移除纹理缩放功能来工作,使每个模型面使用其纹理的 100%,这与之前的行为不同。这不仅修复了物品上的此错误(此处最为明显),也修复了方块模型以及其他可能使用这些功能的对象的问题。
此问题在使用自定义方块模型或某些 2D 物品时尤为明显。
问答:
- 这会降低我的游戏性能吗? 完全不会!移除纹理缩放只是删除了一些代码,没有任何影响。不过,如果您非要吹毛求疵的话,该模组对物品模型进行了微调,与原版相比,对于凹形物品纹理可能会增加一两个四边形面,因此在这种情况下,性能可能会比原版略差一点。然而,这种差异可以忽略不计,只有在尝试运行高分辨率资源包时才可能成为问题。
- 它是如何工作的? 基础修复是简单地移除纹理缩放。这非常简单,能立即“修复”模型上所有有问题的间隙。 对于 2D 物品模型,则需要采取其他措施,因为仅靠上述方法会因模型逐个四边形生成的方式而在其中产生另一种微小的间隙。这些间隙非常微小且会闪烁,所以我必须修复它们。为此,我修改了物品模型生成器,使其永远不会创建一个包含透明像素的四边形,而是为同一方向上的每一行实心像素创建多个四边形。这使我能够略微增大所有这些侧面四边形的尺寸,同时在此过程中不产生新的间隙,从而无缝覆盖所有间隙。请注意,最后一部分仅适用于 Forge,因为 Fabric 似乎没有这种细微的线条,而且模型无需额外的四边形即可正常工作。
Model Gap FIX
This is a simple client mod that fixes
which affects both Block Models and Item Models and possibly other models too
The mod works by removing texture zooming, making every model face use 100% of its texture, unlike of what it did previoulsly.
Thisnot only fixes this bugs on items (where it's most noticeable) but with block models too and everything else that might use those functions.
This issue was especially noticeable with custom block models or some 2d items.
Q&A:
- Will this slow down my game?
Not at all! Removing texture zooming just removes some code and has no impact. If you however want to be nit picky the mod also slightly tweaks item models in a way that could add a ouple more quads for concave item textures compared to vanilla so in that case it could very slightly worse that vanilla. This is however negligible and could only be an issue when trying to run high resolution packs
- How does this work?
The base fix is simply removing texture zooming. This is extremly simple to do and immediately "fixes up" all those problematic gaps on models. For 2d item models something else is needed as this alone creates another kind of tiny gaps in them due to the way they are generated, quad by quad. These are very tiny and they flicker so I had to fix those too. To do so I've changed the item model generator to never create a quad that encompasses a transparent pixel and instead create multiple quads for each row of solid pixel in the same direction. This allows me to slightly increase the size of all these side quads without creating new gaps in the process, thus covering all gaps seamlessly. Note that this last part only applies to forge as fabric does not seem to have such tiny lines and the models work right away with no extra quad
下载 Model Gap Fix
下载 Model Gap Fix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Model Gap Fix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Model Gap Fix
下载 Model Gap Fix
下载 Model Gap Fix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Model Gap Fix
下载 Model Gap Fix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Model Gap Fix
下载 Model Gap Fix
修复
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
缓冲的原始输入和线程化的事件轮询
评论 0
登录后参与评分
还没有评论,来抢沙发吧