mojira.dev
MC-220

Z-fighting of iron bars / glass panes with the block below / above

Have some iron bars placed directly under some stairs. When moving the camera, Z-fighting is apparent as per the two screenshots.

Linked issues

Attachments

Comments 14

There is indeed a slight graphical bugging as they fight with eachother in this position.

It's not just with stairs, nor is this anything new. I've noticed Z-fighting in other situations with iron fences.

Although a minor problem, the flicker from the z-fighting is rather annoying, especially if you want to use a lot of iron bars atop walls and capped with slabs in a structure--e.g., creating an old-fashioned zoo for pigs, cows, wolves, and mooshrooms for your villagers.

Glass panes have a similar Z-problem.

I attached a screenshot where the z-fighting on a glass pane placed on top of a half slab is clearly visible. This is the same on glass panes and iron bars since they share the same code and model.

4 more comments
Jens Bergensten

Tim: Yeah... I kind of thought it looked better that way. The top/bottom edges were intended to hide that the panes are infinitely thin, but that's not necessary when there are blocking blocks above/below.

fernando galian

is fixed? wtf i mean for snapshot 13w whatever
but we are talking about 2016 not 2013 reopen this please.

fernando galian

this bug affect 1.9 pre-release 2 please fix it

The bug affects 1.14.4 as well

This bug is now being tracked at MC-192420.

Chalmes (Jon)

Jens Bergensten

Confirmed

glass_pane, iron_bars, z-fighting

Minecraft 1.4.1, Minecraft 1.4.5, Snapshot 13w02b, Snapshot 13w04a

Snapshot 13w06a

Retrieved