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.

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media]
migrated

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.

migrated

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.

Torabi

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

migrated

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.

marcono1234

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.

migrated

Both water and stained glass now work on a block by block basis. It seems sections aren't really relevant anymore. Just gotta fix the title then.

JUE13

Confirmed for 1.12-pre5

muzikbike

Affects 18w22c

muzikbike

Affects 1.13-pre1

muzikbike

Affects 1.13-pre2

muzikbike

Affects 1.13-pre3

muzikbike

Affects 1.13-pre4

muzikbike

Affects 1.13-pre5

muzikbike

Affects 1.13-pre6

muzikbike

Affects 1.13-pre7

muzikbike

Affects 1.13-pre8

muzikbike

Affects 18w30b

muzikbike

Affects 18w31a

muzikbike

Affects 1.13.1-pre1

muzikbike

Affects 1.13.1-pre2

muzikbike

Still affecting the full release of 1.13.1

muzikbike

Affects 18w47b

muzikbike

Affects 18w48a

muzikbike

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

muzikbike

Affects 18w49a

muzikbike

Affects 18w50a

Asteraoth

Changed the reporter to @unknown.

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