为什么?
原版附魔光效存在两个主要问题:
- 光效始终以全强度渲染,不受光照影响。这导致在黑暗环境中,光效异常显眼,而其所在的物品却难以看清。
- 光效会叠加自身颜色到其下方的物品颜色上。这会导致物品看起来褪色发白。
Spice 如何解决这个问题?
Spice 修改了附魔光效着色器所使用的混合设置。具体而言,它将光效的混合因子设置为被应用对象的颜色。最终效果是:明亮物品获得较强的光效,暗淡物品获得较弱的光效。这增强了物品的对比度,并考虑了光照等级。光效在低光照环境下看起来更加美观,物品也不再显得褪色发白。
Spice 的特性
由于降低光效透明度会导致混合方式产生糟糕的视觉效果,因此光效透明度设置已被替换为 色相旋转。这意味着你可以更改光效颜色,而无需更换资源包。
0% 的光效透明度对应 0 度的色相旋转,100% 的光效透明度对应 360 度的色相旋转。以下数值大致对应以下颜色:
0% -> 紫色
16% -> 红色
33% -> 黄色
50% -> 绿色
66% -> 青色
83% -> 蓝色
100% -> 紫色(与 0% 相同)
Spice 还修复了一个无关问题:雾气被错误地应用于盔甲的问题。
点击此处查看简短演示。
Why?
The vanilla enchantment glint has two primary issues.
- The glint renders at full strength regardless of lighting, this makes the glint extremely visible in the dark while the item that the glint is on is not visible.
- The glint adds its own color to the color of the item beneath it. This causes items to appear washed out.
How does Spice address this?
Spice modifies the blend settings used by the enchantment glint shaders. In particular, it sets the blend factor of the glint to the color of the thing it is being applied to. The end result is that bright items receive strong glints and dark items receive weak glints. This has a contrast-increasing effect on the item and takes light levels into consideration. The glint looks much nicer in low-light environments and items no longer appear washed out.
Spice quirks
Since reducing the glint alpha would cause it to look terrible due to the way blending is applied, the glint alpha setting has been replaced by a hue rotation. This means that you can change the color of the glint without needing to swap out your resource pack.
A glint alpha of 0% corresponds to a hue rotation of 0 degrees and a glint alpha of 100% corresponds to a hue rotation of 360 degrees. The following values roughly correspond to the following colors:
0% -> purple
16% -> red
33% -> yellow
50% -> green
66% -> cyan
83% -> blue
100% -> purple (same as 0%)
Spice also fixes an unrelated issue with fog being incorrectly applied to armor.
Click here to see a short demonstration.
评论 0
登录后参与评分
还没有评论,来抢沙发吧