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

Translucency sorting does not work correctly for intersecting translucent planes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 1.21.3
    • None
    • Confirmed
    • Rendering

      Causes MC-131203 and MC-167319.

      Relates to MC-38022 and MC-163098.

      The bug

      A translucent model which has planes intersecting each other will behave abnormally depending on the viewing angle with respect to what order planes are rendered in.

      How to reproduce

      A resource pack that remodels purple_stained_glass is attached to this ticket.

      1. Download and apply the attached resource pack
      2. Place purple stained glass, preferably a single block in midair
      3. Fly around it

      Expected results

      The rendering order of the constituent planes would make sense geometrically.

      Actual results

      Some planes visibly pop in front of others instantaneously as the player moves, and others are outright invisible behind others.

      How to fix

      A fix for this could be to split up quads into smaller ones which can be sorted more easily, although this would make more sense as a toggleable video setting as increasing the number of quads needing drawn could hurt performance considerably. It is not immediately obvious how this issue could be resolved in any other ways, to my knowledge.

        1. 2024-10-23_16.42.07.png
          2024-10-23_16.42.07.png
          436 kB
        2. 2024-10-23_16.42.08.png
          2024-10-23_16.42.08.png
          441 kB
        3. 2024-10-23_16.42.10.png
          2024-10-23_16.42.10.png
          429 kB
        4. 2024-10-23_16.42.12.png
          2024-10-23_16.42.12.png
          436 kB
        5. 2024-10-23_16.42.13.png
          2024-10-23_16.42.13.png
          429 kB
        6. 2024-10-23_16.42.17.png
          2024-10-23_16.42.17.png
          403 kB
        7. 2024-10-23_16.42.18.png
          2024-10-23_16.42.18.png
          411 kB
        8. intersecting-geometry-sorting-demo-1.21.3-v1.0.zip
          1 kB

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

              Created:
              Updated:
              Resolved:
              CHK: