水[蒸汽]具有合适的纹理
再次进入技术解释环节。Forge 流体注册表存在一个致命缺陷:它可以在世界加载时更改默认流体,但只会烘焙一个 Forge 桶,并且只有一个流体纹理会被缝合到纹理图集(texture atlas)中。如果两个模组添加了相同的流体(例如蒸汽、石油、熔融金属等),这会导致流体罐出现黑色和紫色的 Quilt 纹理。本模组并未解决世界默认值与加载默认值之间的差异问题,而是将**所有**流体纹理进行缝合,以确保即使世界默认值与加载默认值不匹配,也能渲染出相应的纹理。
这将适用于所有不缓存自身流体纹理用于渲染目的的模组(即 Embers 以及可能由 LordMau5 编写的任何模组)。
简而言之:如果你安装了两个添加相同石油的模组,你将不再看到紫色和黑色的纹理。
Water[vapor] Has Appropriate Textures
It's time for technical explanations again. The forge fluid registry has a fatal flaw in that it can change the default fluid on world load, but only one forge bucket will be baked and only one fluid texture will be stitched into the texture atlas. This results in black and purple quilt textures on fluid tanks if two mods add the same fluid (Steam, Oil, Molten Metals, ...). This mod doesn't solve the discrepancy between the world default and the load default, it simply stitches ALL fluid textures to ensure there will be a texture to render even if the world default doesn't match the load default.
This will work for every mod that does not cache their own fluid texture for rendering purpose (i.e Embers and probably anything written by LordMau5)
tl;dr if you have two mods installed that add the same oil you won't get purple and black textures anymore
评论 0
登录后参与评分
还没有评论,来抢沙发吧