mojira.dev
MC-127004

Waterlogged blocks cause z-fighting when looking at them from a distance

The bug

Waterlogged block causes z-fighting, when away from it from a distance.

Related issues

MC-127183 Waterlogged Stairs Texture Bug MC-127554 Z-Fighting in waterlogged blocks MC-128833 Visual glitch of water logged blocks from distance MC-130291 When i am far away water bug MC-143673 Glitched waterlogged stairs MC-147110 Water logged blocks break. MC-149433 Water clipping (z-fight) through waterlogged stairs MC-152703 Water Block MC-153674 Waterlogged stairs have Z-fighting when looked at from far away. MC-156842 Waterlogged stairs flicker because of clipping of the water texture, and it gets worse the farther away you are MC-163123 Water logged slabs are glitching MC-168278 Waterlogged stairs have weird textures when looking from a distance MC-173991 Waterlogged blocks show water on the other side of the block (texture overlap flickering) MC-176267 Water can be seen through back of stairs MC-179374 Water Z-Fights with waterlogged blocks when looked at far enough away MC-179557 Visual glitch with waterlogged stairs

Attachments

Comments

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

This is caused because the water texture is placed too closely to the edge of the block, causing it to render improperly when viewed from a distance. This image shows how close the water texture is to the block texture:

[media]

Note that this also occurs on the bottom face of most waterlogged blocks also.

Nathan Adams

Sorry, not really fixable right now 😞

Kyiiel

Hmm, I think it might be possible to be fixed by having a different model for the water depending the block's blockstate, or distance from the player.

migrated

Yes Fix

migrated

Affects 18w20a.

migrated

This is not resolved if it's not fixed.  It's pretty annoying in 1.13.2. 

Asteraoth

@unknown, the resolution of this ticket is "Won't Fix".

migrated

May I ask why this wont be fixed? Or if I, the player, can do something to counter this? Because this is really annoying seeing my base flicker. 🙂

[Mod]Les3awe

Still in the 19w42a.

violine1101

Reopening would be a decision that Mojang would need to make.

[Mod]Les3awe

Understand.

RedCMD

Why can't there be a different water model for different types of blocks?
There are very few blocks that need a different model, main ones being stairs, slabs and trapdoors.

WaterLogged Calculator Display:

[media][media]
migrated

I am glad that this was reopened. I hated this bug

Dracconis69

Well hopefully someone will correct me if I am wrong, but if the blockstate is also determines how the blocks are to be rendered in the game and the model determines how the texture is rendered of the block then wouldn't creating a waterlogged model file for all the blocks that can be waterlogged solve the issue?

muzikbike

Affects 20w21a, can I request ownership?

ZeNico13

Still a problem in 1.16 Pre-Release 8 and before

[Mod]Les3awe

I cannot reproduce.

[media]
ZeNico13

@Les3awe In fact, the problem is only fixed on one side of the block. The other sides of the block are still problematic. We can see it in the debugging world.

[media]
[Mod]Les3awe

@@unknown, create a new ticket.

NeunEinser

What is the actual bug now?
Looking at this, it does seem to be fixed for the backside of stairs in all cases.
The fix seems to be done by culling the water texture completely when the block has a full side in that direction itself.

This obviously does not fix it on block faces that are not full (e.g. the front of a stair).

So since something was fixed here, I do think a new ticket should be created.

Removed the rc1 from affected versions for now, as we can't remove it once it's an archived version but still can add it again.

[Mod]Les3awe
[media]

[media]

violine1101

→ MC-190728

[Mod]Les3awe

slicedlime

Confirmed

Important

Rendering

distance, rendering, waterlogged-blocks, z-fighting

Minecraft 18w10d, Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w15a, ..., 20w11a, 20w12a, 20w13b, 20w18a, 20w21a

1.16 Pre-release 1

Retrieved