Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-262934

Enchantment glint application depends on texture mapping rather than position within model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.4, 1.20 Pre-release 5, 1.20.3 Release Candidate 1
    • None
    • Community Consensus
    • Rendering, Textures and models

      Relates to MC-167526, MC-208949 and MC-262933.

      The bug

      The way in which the enchanted glint is applied to models depends on what region of the texture is mapped to that specific point in the model, rather than the absolute position within said model. This means that, for example, if two elements which are right next to each other map different parts of the texture, there will be a sharp cutoff in where the enchantment glint appears.

      I believe that the block cracking animation also used this logic in previous versions, resulting in MC-62197 and MC-107584, however that no longer occurs.

      How to reproduce

      1. Enchant a fence gate using Creative means
      2. Look at it as an item

      Expected results

      The enchantment glint would look continuous on the front.

      Actual results

      Sharp vertical lines can be seen in several positions.

      How to fix

      The enchantment glint should be applied to planes depending on said plane's absolute position within the model itself, rather than depending on how the texture is mapped there.

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: