[MC-220] Z-fighting of iron bars / glass panes with the block below / above Created: 24/Oct/12  Updated: 30/May/21  Resolved: 06/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.1, Minecraft 1.4.5, Snapshot 13w02b, Snapshot 13w04a
Fix Version/s: Snapshot 13w06a

Type: Bug
Reporter: Chalmes (Jon) Assignee: [Mojang] Jeb (Jens Bergensten)
Resolution: Fixed Votes: 42
Labels: glass_pane, iron_bars, z-fighting

Attachments: PNG File 2012-10-05_06.24.13.png     PNG File 2012-10-25_10.27.23.png     PNG File 2012-10-25_10.27.26.png     PNG File 2012-11-06_16.01.19.png     PNG File 2012-11-06_16.01.20.png     PNG File 2012-11-06_16.01.22.png     PNG File 2012-11-06_16.01.24.png     PNG File 2012-11-06_16.01.27.png     PNG File 2012-11-06_16.01.29.png     PNG File 2012-11-06_16.01.32.png     PNG File 2012-11-06_16.01.34.png     PNG File 2012-11-06_16.01.35.png    
Issue Links:
Cloners
is cloned by MC-192420 Iron bars Z-fight on the bottom and top Reopened
Duplicate
is duplicated by MC-8227 Textures in collision with glasses Pi... Resolved
is duplicated by MC-10926 Iron Bars Graphical Conflict on y axis Resolved
is duplicated by MC-391 Z-fighting at the bottom of glass pan... Resolved
is duplicated by MC-3083 Bottom of Glass Panes Z-fights with C... Resolved
is duplicated by MC-4184 Z-Fighting with Iron bars with block ... Resolved
Relates
relates to MC-84659 Z-Fighing of iron bars with block below Resolved
relates to MC-93565 Iron Bars In Ground Resolved
CHK:
Confirmation Status: Confirmed

 Description   

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



 Comments   
Comment by [Helper] osfanbuff63 [ 29/May/21 ]

This bug is now being tracked at MC-192420.

Comment by GruveXp [ 11/Aug/19 ]

The bug affects 1.14.4 as well

Comment by fernando galian [ 24/Feb/16 ]

this bug affect 1.9 pre-release 2 please fix it

Comment by fernando galian [ 22/Feb/16 ]

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

Comment by [Mojang] Jeb (Jens Bergensten) [ 07/Feb/13 ]

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.

Comment by Phssthpok Pak [ 07/Feb/13 ]

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.

Comment by 5ives [ 15/Dec/12 ]

This is present in 12w50a.

Comment by TS [ 22/Nov/12 ]

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.

Comment by Kumasasa [ 22/Nov/12 ]

Confirmed

Comment by user-571ee (Inactive) [ 06/Nov/12 ]

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.

Comment by eleazzaar [ 06/Nov/12 ]

Glass panes have a similar Z-problem.

Comment by Leta Rogers [ 05/Nov/12 ]

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.

Comment by Joe [ 25/Oct/12 ]

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

Comment by Gravity [ 24/Oct/12 ]

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

Generated at Sun Jan 12 11:50:17 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.