mojira.dev
MC-60772

Draw order of translucent blocks based on head position (not POV)

The bug

When you are in third person mode, translucent blocks are rendered as if you are watching from first person mode; this moves some sides of blocks in front of other blocks.

Linked issues

Attachments

Comments 27

It's worth noting that F5 mode really showcases this bug. On my new screenshot I built four stained glass blocks around a section corner, so draw order is exactly reversed for all of them.

Note the C: 16916/17424. At least most sections are empty or very simple on this superflat world, so I have some frame rate to spare. On a normal world that really slows it down. 😞 Memory was being allocated at about 1.5 GB per second, which is a little insane but at least didn't seem to hit performance. The garbage collector reduced it to about 900 MB every one or two seconds.

Large improvement in 14w30c (maybe 30a/30b, too). It sorts based on head height now, but it still doesn't compensate for things like the camera being offset backwards a little (in Minecraft, your eyes are more or less in the back of your head), let alone F5 mode.

Hmm, that reminds me of MC-1846. I suppose that's still active in 14w30c?

Whoops. I didn't spot @unknown's comment somehow. Yes, it is. I figured it may be that way to keep a better view inside small spaces. But regardless of where the game puts its camera, it shouldn't use different positions for different purposes.

Is this still the case with water in 17w06a? I am seeing something similar but regardless of the height when I am in third person mode.

17 more comments

Affects 18w48a

Affects 18w48b, can I request ownership of the ticket?

Affects 18w49a

Affects 18w50a

Changed the reporter to @unknown.

jonathan2520

muzikbike

Nathan Adams

Confirmed

semi-transparent

Minecraft 14w27b, Minecraft 14w28b, Minecraft 14w29b, Minecraft 14w30c, Minecraft 14w31a, ..., Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w09a

Minecraft 19w11a

Retrieved