Configurable LabPBR Player Armor
实时配置护甲的材质属性。默认呈现类似塑料的 Minecraft 风格外观。
这是一个轻量级的客户端模组,用于为原版人形护甲生成 LabPBR 材质贴图。选择每种护甲系列的表面饰面,应用更改后,兼容的光影即可处理光照效果。
创作初衷
我不知道你作何感想,但我一直觉得《Minecraft》原本的设计意图并非呈现出这种效果。??
别误会——我很喜欢次表面散射和 PBR 纹理。但《Minecraft》拥有一种独特的 16x16、方块状且充满奇趣的风格。我喜欢在这种既定的风格之上叠加逼真的效果,而不是将其替换掉。
当我最初以相同方式为 Adorable Hamster Pets 中的仓鼠护甲制作可自定义材质时,我选择了塑料/卡通/风格化的结果,因为这样既能获得漂亮的反射效果,又依然保留着 Minecraft 的感觉。
我希望玩家护甲也能获得同样的处理效果,以便与我的仓鼠们相配 lol。后来我想到,如果让它可配置会怎样?既然我已经让仓鼠护甲材质支持配置,我便按同样的方式进行了设置。
模组功能
- 可配置平滑度(smoothness)、反射率/金属类型(reflectance/metal type)、孔隙率/次表面散射(porosity/subsurface scattering)以及自发光(emissiveness)。是的,你可以使用此功能让护甲发光。
- 在你应用更改后立即更新生成的资源包,因此你将看到更改实时生效。
- 保留护甲纹理、模型、物品图标、法线贴图和 POM,以确保良好的兼容性。
- 完全在客户端运行。服务器和其他玩家无需安装此模组。
简便的材质编辑
LabPBR 是一种被许多兼容的 Minecraft 光影所使用的材质格式。该模组会为每件穿戴的护甲纹理写入一个小型辅助贴图;光影读取这些数值并决定表面对光线的响应方式。简单易懂。
将鼠标悬停在配置屏幕的设置上,可查看其对应的 LabPBR 通道及有效范围。随时应用更改以在游戏中检查结果。
真实金属速查表
曾有一群有权势的小团体在一次秘密会议中达成一致,认为以下确切的 Reflectance / Metallic(反射率/金属性)值可用于模拟八种现实生活中的金属:
| 金属 |
反射率 / Metallic |
孔隙率 / SSS |
自发光 |
| Iron |
230 |
0 |
255 |
| Gold |
231 |
0 |
255 |
| Aluminum |
232 |
0 |
255 |
| Chrome |
233 |
0 |
255 |
| Copper |
234 |
0 |
255 |
| Lead |
235 |
0 |
255 |
| Platinum |
236 |
0 |
255 |
| Silver |
237 |
0 |
255 |
Smoothness(平滑度)控制的是表面质感,而非金属属性。以下是一些起始参考值:
| 表面质感 |
Smoothness |
| 粗糙或风化 |
90 |
| 拉丝 |
160 |
| 抛光 |
220 |
| 镜面 |
255 |
这些质感数值仅供参考——你可以自由调整。这些数字从何而来?请参阅 shaderLABS LabPBR Material Standard。请注意,部分光影包并未实现独立的预设值,而是将 230–255 视为自定义金属参数。
资源包兼容性
内置的资源包包含了原版磨损盔甲和装饰纹路的 _s.png 图像,以及 LabPBR 格式声明。它不会替换漫反射贴图、模型、物品图标、_n 法线贴图或 POM(视差映射)。
这意味着大多数替换了原版磨损盔甲贴图的资源包可以保留对盔甲形状和颜色的控制权,而本模组则负责控制其材质响应。通过新模组资源路径添加的盔甲不会受到影响。如果你希望我为你添加支持,可以进行定制委托。
变更管理
Fzzy Config 让你的实验可逆。你可以应用一组更改、撤销更改、恢复默认设置,或者从配置界面查看变更历史。
材质默认值
| 材质类别 |
RGBA: smoothness, reflectance, porosity/SSS, emission |
| Leather / turtle |
90, 0, 50, 255 |
| Chainmail / iron |
220, 130, 0, 0 |
| Gold / diamond / copper |
220, 50, 0, 0 |
| Netherite |
120, 20, 0, 0 |
| Armor trims |
220, 50, 0, 254 |
LabPBR 将自发光值 255 保留为禁用状态。不支持法线贴图,因为我认为它们在默认游戏分辨率下看起来很奇怪;也不支持 POM(视差映射),因为它根本不能在实体上正常工作。
使用方法
- 安装 支持的 Minecraft 版本和加载器。
- 在客户端安装 Fzzy Config 和本模组。
- 使用兼容 LabPBR 的光影以查看生成的材质响应。
- 打开客户端配置界面,选择盔甲类别,调整其数值并应用。
如果没有兼容的光影,生成的贴图将无效。有关资源包支持和有意排除项的说明,请参阅 兼容性说明。
看看我的其他模组:Adorable Hamster Pets
Configurable LabPBR Player Armor
Configure your armor's material properties in real-time. Defaults to a plastic Minecraft-ish look.
This is a lightweight client-side mod that generates LabPBR material maps for vanilla humanoid armor. Pick the finish for each armor family, apply the changes, and your compatible shader handles the lighting.
Why I Made It
I don't know about you, but I've always thought that Minecraft was not intended to look like this. ??
Don't get me wrong— I love things like subsurface scattering and PBR textures. But Minecraft has a certain 16x16, blocky, whimsy style. I like applying realistic effects on top of that intended style rather than replacing it.
When I first built customizable armor materials in this same way for Adorable Hamster Pets Hamster Armor, I went with the plastic/cartoonish/stylized result because that way I got my pretty reflections, but it still felt like Minecraft.
I wanted the same treatment for player armor so I could match my hamsters lol. Then I realized, what if I made it configurable? I had already made the hamster armor materials configurable so I just set it up the same way.
What This Mod Does
- Configures smoothness, reflectance/metal type, porosity/subsurface scattering, and emissiveness. Yes you can make your armor glow with this.
- Updates its generated resource pack as soon as you apply a change, so you'll see the changes apply in real-time.
- Leaves armor textures, models, item sprites, normal maps, and POM alone for great compatibility.
- Runs entirely on the client. Servers and other players do not need the mod.
Easy Material Editing
LabPBR is a material format used by many compatible Minecraft shaders. The mod writes a small companion map for each worn armor texture; the shader reads those values and decides how the surface responds to light. Easy squeezy peezy.
Hover over a setting in the configuration screen to see its LabPBR channel and valid range. Apply changes whenever you want to check the result in-game.
Real-Metal Cheat Sheet
Once upon a time, a small group of powerful people agreed together in a secret meeting that these exact Reflectance / Metallic values would be used to emulate eight real life metals:
| Metal |
Reflectance / Metallic |
Porosity / SSS |
Emissiveness |
| Iron |
230 |
0 |
255 |
| Gold |
231 |
0 |
255 |
| Aluminum |
232 |
0 |
255 |
| Chrome |
233 |
0 |
255 |
| Copper |
234 |
0 |
255 |
| Lead |
235 |
0 |
255 |
| Platinum |
236 |
0 |
255 |
| Silver |
237 |
0 |
255 |
Smoothness controls the finish, not the metal. A few starting points:
| Finish |
Smoothness |
| Rough or weathered |
90 |
| Brushed |
160 |
| Polished |
220 |
| Mirror finish |
255 |
The finish values are just recommendations— you do you. Where am I getting these numbers? See shaderLABS LabPBR Material Standard. Note that some shader packs do not implement the individual presets and treat 230–255 as custom metal instead.
Resource-Pack Compatibility
The built-in resource pack contains _s.png images for vanilla worn-armor and trim paths, plus the LabPBR format declaration. It does not replace diffuse artwork, models, item sprites, _n normal maps, or POM.
That means most resource packs that replace vanilla worn-armor artwork can keep control of the armor's shape and color while this mod controls its material response. Armor added under new modded resource paths will not be affected. If you want me to add it you can commission it.
Change Management
Fzzy Config keeps your experimentation reversible. You can apply a set of changes, revert it, restore to the defaults, or inspect change history from the configuration screen.
Material defaults
| Material family |
RGBA: smoothness, reflectance, porosity/SSS, emission |
| Leather / turtle |
90, 0, 50, 255 |
| Chainmail / iron |
220, 130, 0, 0 |
| Gold / diamond / copper |
220, 50, 0, 0 |
| Netherite |
120, 20, 0, 0 |
| Armor trims |
220, 50, 0, 254 |
LabPBR reserves emission value 255 as disabled. Normal maps are unsupported because I think they look weird at the default game resolution, and POM is intentionally unsupported because it doesn't work on entities anyway.
How to Use
- Install a supported Minecraft version and loader.
- Install Fzzy Config and this mod on the client.
- Use a LabPBR-compatible shader to see the generated material response.
- Open the client config screen, choose an armor family, adjust its values, and apply.
Without a compatible shader, the generated maps are inert. See the compatibility notes for artwork-pack support and deliberate exclusions.
Check out my other mod, Adorable Hamster Pets
评论 0
登录后参与评分
还没有评论,来抢沙发吧