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

Order of rendering translucent block faces fails to update with camera position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w36a
    • Minecraft 1.7.2, Minecraft 14w25b, Minecraft 14w27b, Minecraft 14w29b, Minecraft 1.8-pre2, Minecraft 1.8.3, Minecraft 1.8.8, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47a, Minecraft 15w47c, Minecraft 1.8.9, Minecraft 15w51b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.10, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 17w14a, Minecraft 1.12.2, Minecraft 18w02a, Minecraft 18w08a, Minecraft 18w08b, Minecraft 18w09a, Minecraft 18w11a, Minecraft 18w15a, Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w50a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4, 19w34a, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w41a, 19w42a, 19w45b, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w13a, 20w13b, 20w15a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w11a, 1.17 Pre-release 1, 1.17 Pre-release 2, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 1.18 Pre-release 1, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Release Candidate 2, 1.18, 1.18.1, 22w03a, 1.18.2, 22w12a, 22w15a, 22w18a, 1.19 Pre-release 2, 1.19 Pre-release 5, 1.19, 1.19.1, 1.19.2, 22w42a, 1.19.3, 23w06a, 23w07a, 1.20 Release Candidate 1, 1.20, 1.20.1 Release Candidate 1, 1.20.1, 1.20.2, 1.20.4, 24w13a, 1.20.5 Pre-Release 1, 1.20.6, 1.21, 24w33a, 1.21.1
    • Confirmed
    • Rendering, Textures and models
    • Important
    • Platform

      The bug

      Various visual artifacts appear on translucent blocks after movement, because whatever handles sorting translucency layers does not update as you move around.

      How to reproduce

      1. Create a superflat world with preset:
        minecraft:bedrock,minecraft:green_stained_glass,minecraft:red_stained_glass,minecraft:blue_stained_glass;minecraft:the_void
        
      2. Fly up ~10 blocks (doesn't matter much)
      3. Use this command:
        /tp @p 100 ~ 100 135 45
      4. Press F3 + T (then wait for chunks to load)
      5. Use this command:
        /tp @p 0 ~ 0 -45 45

        You will notice you cannot see the green and red glass in multiple chunks

      Expected behaviour

      The block faces would be sorted on each frame, so that they always render in the correct order.

      Analysis

      Ceresjanin123 has done a good analysis in this comment.
      douira has done a good analysis in this comment.

        1. 2013-10-27_21.38.25.png
          2013-10-27_21.38.25.png
          1.22 MB
        2. 2013-10-27_21.41.44.png
          2013-10-27_21.41.44.png
          613 kB
        3. crash-2014-05-13_10.54.01-client.txt
          7 kB
        4. 2014-05-13_10.32.47.png
          2014-05-13_10.32.47.png
          353 kB
        5. 2014-05-13_10.38.55.png
          2014-05-13_10.38.55.png
          328 kB
        6. 2014-05-13_11.03.30.png
          2014-05-13_11.03.30.png
          42 kB
        7. 2014-06-23_14.35.41.png
          2014-06-23_14.35.41.png
          385 kB
        8. crash-2014-07-02_19.22.27-client.txt
          8 kB
        9. 2015-10-04_13.46.33.png
          2015-10-04_13.46.33.png
          954 kB
        10. 2015-06-09_15.51.45.png
          2015-06-09_15.51.45.png
          1.29 MB
        11. Screenshot-Slime-Light-Bad.png
          Screenshot-Slime-Light-Bad.png
          1.37 MB
        12. 2018-02-21_21.13.39.png
          2018-02-21_21.13.39.png
          1.04 MB
        13. 2018-02-22_19.27.14.png
          2018-02-22_19.27.14.png
          2.38 MB
        14. 2018-02-22_19.26.50.png
          2018-02-22_19.26.50.png
          2.53 MB
        15. 2018-02-22_19.26.48.png
          2018-02-22_19.26.48.png
          2.30 MB
        16. 2018-03-04_16.14.56.png
          2018-03-04_16.14.56.png
          2.51 MB
        17. Ice Rendering pre6.gif
          3.29 MB
        18. 2018-07-14_01.05.53.png
          2018-07-14_01.05.53.png
          2.60 MB
        19. 2018-07-14_01.05.02.png
          2018-07-14_01.05.02.png
          2.61 MB
        20. 2018-07-17_01.02.57.png
          2018-07-17_01.02.57.png
          2.45 MB
        21. 2018-07-19_15.43.07.png
          2018-07-19_15.43.07.png
          2.18 MB
        22. 2018-08-21_12.50.01.png
          2018-08-21_12.50.01.png
          1.43 MB
        23. 2019-02-06_20.52.15.png
          2019-02-06_20.52.15.png
          2.75 MB
        24. 2019-10-10_11.11.14.png
          2019-10-10_11.11.14.png
          1.67 MB
        25. 2019-11-16_16.06.39.png
          2019-11-16_16.06.39.png
          3.42 MB
        26. Screenshot (5).png
          Screenshot (5).png
          1.34 MB
        27. 2020-05-12_23.40.14.png
          2020-05-12_23.40.14.png
          1.92 MB
        28. 2020-05-12_23.19.22.png
          2020-05-12_23.19.22.png
          2.49 MB
        29. 2020-06-05_13.06.14.png
          2020-06-05_13.06.14.png
          2.34 MB
        30. 2020-06-05_13.06.04.png
          2020-06-05_13.06.04.png
          2.58 MB
        31. Example Superflat.png
          Example Superflat.png
          2.47 MB
        32. Analysis 1.png
          Analysis 1.png
          661 kB
        33. Analysis 2.png
          Analysis 2.png
          1.01 MB
        34. Analysis 3.png
          Analysis 3.png
          356 kB
        35. Analysis 4.png
          Analysis 4.png
          1.77 MB

            Unassigned Unassigned
            ZeNico13 [Helper] ZeNico13
            Votes:
            147 Vote for this issue
            Watchers:
            53 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: