Compatibility
Minecraft: Java Edition
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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.