Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Fancy Glint

Fancy Glint

Outline your enchanted armor!

45.2k
275
Core Shaders
Tweaks
Vanilla-like

Compatibility

Minecraft: Java Edition

23w06a
1.19–1.19.3
1.18.x
1.17.x

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Creators

archon_andromeda
archon_andromeda Owner

Details

Licensed CC-BY-4.0
Published 2 years ago
Updated 2 years ago
DescriptionGalleryChangelogVersions

What is it?

Mojang is tweaking the enchantment glint, which got me thinking... what if we had a glint effect that both was obvious and didn't obscure what armor you're wearing? After three days of working on dodgy shader hacks, I present to you: Fancy Glint, a completely vanilla resource pack that makes the enchantment glint bright on the edges of your armor but politely stays away from the most detailed and interesting parts. Perfect for showing off your new trim! It even works with other glint-modifying resource packs!

How does it work?

Starting with 1.17, Minecraft's core shaders (instructions for how to draw the game) are able to be modified by resource packs. This means that I can replace the default one ("just lay the glint texture over the armor, stretch it, and move it around") with my own ("do that but also do some other stuff to make it brighter on the edges").

The glint geometry doesn’t have normals or anything, just worldspace positions and UV positions, neither of which are particularly useful. Instead, I used the gl_VertexID to generate “UV” positions that stretch across the whole faces. Since Minecraft always sends the vertices in a specific order, I can assign each one to specific corners (so if gl_VertexID % 4 == 0 , it’s (0, 0) , if gl_VertexID % 4 == 1 , it’s (0, 1) , etc.). And then by using a sin function I can get it to fade from the edges to the center, and somehow it works and is consistent.

Because this method is reliant on specific geometry, it doesn't work very well with items, unfortunately. This pack will likely remain armor-only.

Older Versions

One of the changes Mojang made in the 1.20 snapshots was to have the glint texture move across armor more slowly. The old speed in 1.17-1.19 doesn't look great with this pack, so I tried to slow it down a bit, but that adds a bit of jumpiness. It's not very noticeable though.

Make sure to use the version for your Minecraft version (the 1.19 one will say "too new" if you're on 1.19-1.19.2; you can ignore that)! The core shaders had changes in each major release, so it won't work at all if you use the wrong one.

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.