TelepathicGrunt/Bumblezone

Waterlogged honey crystals break translucent sorting

Lolothepro opened this issue · 5 comments

8mb.video-4CK-68ZnEyeY.mp4

With Minecraft Vanilla + Bumblezone, sorting seems slightly broken

If vanilla issue, there isn’t anything I can do. The quads are correct as far as I know and I am not gonna modify the vanilla translucent sorting system

Can you check if it's fixable?

Fix it how?

It’s a vanilla issue with vanilla’s own translucent sorting system which I won’t touch due to it having bugs and fragile and I don’t want to break anyone else nor decrease its performance with extra checks.

And the crystal has to remain translucent for its looks. I don’t want to make it opaque just to address this waterlogged edge case.

Not everything is worth fixing

I've fixed this in sodium with the new translucency sorting system. It required some extra tuning to properly detect and use the existing mitigations for such intersecting geometry, but it works now.

With vanilla's quad-center distance-based translucency sorting this is broken since the waterlogged model intersects with the water and there's small quads in the model whose centers are closer to the camera than the big water quad center is at certain viewing angles.

Screenshot 2024-05-09 at 05 34 53

Alright but this is about my mod Bumblezone and what I can do which is nothing. It is out of scope of my mod to completely replace the translucency sorting system. Another mod can do so to fix the issue but not me.