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.

Related issues

Attachments

Comments

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

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

Joe

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

by_jove

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.

eleazzaar

Glass panes have a similar Z-problem.

user-571ee

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.

kumasasa

Confirmed

TS

Bug seems to occur in a variety of situations, above or below a block, regardless of the block used.

The only exception is when three bars/panes extend over a three solid blocks. The middle block/bar/pane will not experience Z-fighting then.

5ives

This is present in 12w50a.

Phssthpok Pak

Thanks for the fix. Unfortunately, the top and bottom parts of the iron bars/glass pane texture does not now show if there are blocks above and/or below them. Don't know if this was deliberate.

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

GruveXp

The bug affects 1.14.4 as well

osfanbuff63

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