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

"tile" texture scaling also causes incredible lag with small textures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w33a
    • 1.20.4, 24w14a
    • None
    • Confirmed
    • Textures and models

      The bug

      If a small texture is defined for a UI element and its scaling behaviour set to "tile", the game will be incredibly laggy on the client due to it having to render a single texture file thousands of times.

      How to reproduce

      1. Download and apply the attached resource pack
      2. Try your best to navigate the menus

      Expected results

      A usable experience.

      Actual results

      prankd

      How to fix

      If the texture to be tiled is sufficiently small, then pre-generate a larger version of the tiled texture and stitch this to the gui.png-atlas, then tile with this. Much less texture planes will be needed as a result while the outcome is visually identical.

        1. 2024-04-08_13.59.48.png
          264 kB
          Connor Steppie
        2. 24w14a.mp4
          2.32 MB
          BugTracker
        3. 24w36a (fixed).mp4
          3.66 MB
          BugTracker

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

              Created:
              Updated:
              Resolved:
              CHK: