mojira.dev
MC-109087

Faces of some blocks are not at all culled when said face is hidden by a solid, opaque block

NOTE: this ticket should probably be split in future for simplicity.

Cases which are already split:

The bug

Certain faces of blocks are still rendered even in conditions which would make them absolutely impossible to see outside of spectator mode.

This ticket only lists blocks which use the standard block rendering method and not blocks such as chests which render differently in a manner similar to entities.

Affects the following blocks, as seen in Spectator mode through an opaque solid block:

Bottom faces:

  • Brewing stands

  • Iron bars

  • Glass panes (fix provided in MC-122927)

  • Four turtle eggs (fix provided in MC-135986)

  • Chorus flowers

Side faces:

  • Anvils

  • Bell (attachment:floor)

  • Chorus flowers

Top faces:

  • Anvil

  • Glass panes

  • Iron bars

  • Chorus flowers

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media]
Geenium

Most of these blocks will now cull appropriately.
Doors don't cull, as all doors support transparent textures.
Shulker boxes won't cull either.

migrated

So all are fixed but shulker boxes and doors (they can still be fixed witthout removing the transparancy ability)?

migrated

This fix breaks chairs in custom resource packs. Would be nice, if you could choose whether blocks cull or not in resource pack. 

[media]
migrated

That’d be a feature request.

muzikbike

Here's a full list for bottom faces I've found that are not included here, along with tickets that can be merged (as duplicates):

  • Brewing stands (haven't tested all combos)

  • Beds (only white tested)

  • Banners (only white tested)

  • Down hoppers

  • Dragon eggs

  • Glass panes (MC-136264)

  • Signposts (MC-136006)

  • End portal frames (regression?)

  • Levers

  • Cauldrons

  • Turtle eggs (MC-135986, maybe also link to the fix)

  • Heads

  • Skulls

  • Iron bars

muzikbike

Grindstone bottom face fixed in 18w45a

muzikbike

Currently in the process of fixing many cases. Resulting resource pack with fixes will be attached to this bug report.

muzikbike

I have since created a resource pack which adds cullface for all blocks affected, with the exception of blocks which already have fixes provided and blocks which do not use cullface at all. Will attach shortly.

muzikbike

The fix texture pack has been attached.

muzikbike

Texture pack outdated as of 18w50a; uses old bell model. Will update eventually.

muzikbike

Fixed for some blocks in 19w02a

muzikbike

Numerous cases fixed as of 19w03a

muzikbike

Even more fixes as of 19w03a: only remaining blocks appear to be four turtle eggs, glass panes, brewing stands, normal and redstone torches, iron bars, dragon eggs, bells (against a wall), anvils (against a wall), and beacons. The other blocks which use tile entity rendering I'd consider a separate issue.

wobst.michael

Can you please strike out entries in the lists which you think are fixed? And in case you know when a certain item has been fixed, you might want to put a Fixed in 08w15a next to it.

tryashtar

Verified remaining issues and updated ticket

WeegeeTheDoggo

(19w11b) Found some more:

Top faces:

  • Potted Cactus

Bottom faces:

  • The unpowered redstone torch-like parts on the Repeater and the Comparator, as well as the Repeater's 'lock'. Forget cullfacing, these simply shouldn't have bottom faces at all

  • Walls (if two walls are connected, and have another two connected walls on top of them, the bottom of the wall posts on top will not cullface)

 

ZeNico13

Still in 19w13a

ZeNico13

Still in 1.14 Pre-Release 1

ZeNico13

Still in 1.14 pre-5

ZeNico13

Still in 1.14 Release

ZeNico13

Still in 1.14.1 Release

GeForceLegend

They just need "cullface", but for some blocks like iron bars, adding cullface data will cause other bugs.

muzikbike

Currently in the process of creating a resource pack which should fix these among other model and texture bugs.

migrated

Can confirm for 1.16 pre release 5

migrated

still happens in 20w27a

migrated

Hello, I also made a model optimization resource pack and thought it might be useful here...

Also, while making it I found a few extra things that I fixed in the pack:

 - Fence Gates don't cull the top part when a block is above them

 - The Fence Gate model (Closed) took 8 cubes when it could've used only 5 (By joining each gate)

 - The Fence Gate UV was visually inconsistent when it opened and closed (This isn't an optimization thing but it mildly annoyed me so I fixed that too)

 - Parts of Repeaters, Comparators, Tripwire Hooks, Fence Gates, Beacons, and Dragon Eggs had faces that would never be visible anywhere except in Spectator Mode (Like, they were inside other parts of the model)

 - Dragon Eggs have an unnecessary cube (Kind of like Fence Gates)

 - Flower Pots have a few unnecessary cubes as well

[media]

 <- Just reuploaded it because I put it in the .zip wrong

 

P.S. I did not add culling to Glass Panes and Iron Bars because that causes other issues

ArmouredMonkey

I believe this also applies to glow lichen in 21w06a

[media]

Avoma

Also affects the bottom faces of lightning rods.

Avoma

Can confirm in 21w16a.

SamtheBKBoss

Can confirm in 1.17 Release Candidate 1.

ampolive

Affects 1.17.

Avoma

Can confirm in 1.17.1.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

Avoma

Can confirm in 1.19 and 22w24a.

Avoma

Can confirm in 1.19.2.

Brain81505

Can confirm in 1.19.3

KR_

All torches now don't render their underside as of 24w33a.

Fireswamped

still an issue just turning off Ambient Occlusion fixes though.

muzikbike

(Unassigned)

Confirmed

Platform

Low

Performance, Textures and models

cullface, cullface-missing-from-model

Minecraft 1.10.2, Minecraft 16w42a, Minecraft 1.11 Pre-Release 1, Minecraft 17w06a, Minecraft 1.12, ..., 1.19.3, 1.20.1, 1.20.4, 24w12a, 24w13a

Retrieved