mojira.dev
MC-73186

Gaps between the faces of item models and complex block models

The bug

All textures of blocks with 3D models and items have gaps at the corners.

How to reproduce

  • This can be seen with doors (see screenshots)

  • You can see the problem better if you use a resource pack using "3D" blocks, such as Default 3D Models by Sibsib92 v0.97

  • You can also see it pretty easily when you just hold a tool like a pickaxe in your hand

Examples

Look at the screenshots below.

Linked issues

MC-75106 Clear lines on custom models Resolved MC-109765 Models With Fractional UV Values Render Incorrectly Resolved MC-138250 Crossbow bug Resolved MC-152387 Textures not complete Resolved MC-155272 Issue with item textures Resolved

Attachments

Comments 66

Dlawso the Really Lucky Rabbit

Please switch to the default resource pack and see if it occurs there.

The right screenshot is the default texture pack (the one with the door and the sky in the background) 🙂

Possibly a graphics driver issue.

insomniac_lemon

Can confirm this is most likely NOT a driver issue, I have an nVidia GTS 450 with graphics driver version 346.47.

This is called UV bleeding... properly sized blocks and items pull the very edge texture, in the cases shown in your screenshots that is transparent. However, if the pixels just outside the used textures are very different (like bright red) it is very noticeable.

So no, this is not a resource pack problem, but one with the model system. UV bleeding occurs by default on even precise models, the only way to fix it is to shrink UV coords very slightly or to surround your texture with a bleed area so when pixel bleeding occurs, it pulls the color from there so it's the right color.

Relates to/duplicates MC-75106.

I'm not sure if it's the same problem, but if it is, MC-75106 could be closed as a duplicate of this since this ticket has slightly more info.

56 more comments

Nvidia RTX 4080 - confirm and in 1.21.1 can confirm 

Tristan Lansdown

Can confirm in 1.21.3

can confirm in 1.21.4

This is especially easy to notice when blocking with a sword (using the blocks_attacks component).

[media]

Léah Gex-Collet

This is particularly bad when scaling item models for larger texture sizes in resource packs.

[media]

[media]

marcono1234

(Unassigned)

Confirmed

Platform

Important

Rendering

3D, block, gap, models, mojang_internal_1, rendering, texture

Minecraft 1.8.1-pre2, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre4, Minecraft 15w44b, Minecraft 16w03a, ..., 1.21.4 Pre-Release 1, 1.21.4 Release Candidate 3, 1.21.4, 25w03a, 25w06a

Retrieved