mojira.dev
MC-264151

Glass blocks do not use mipmapping, but glass panes do

Are the tickets for moss carpets and mangrove logs using cutout rendering private? If not, they should be marked as related to this.

The bug

Glass blocks do not use mipmapping, but glass panes do, resulting in them looking different from each other at sharp angles of incidence.

How to reproduce

  1. create a long strip of glass blocks

  2. Create a long strip of glass panes

  3. Look at them from one of the far edges

Expected results

As they get farther away from the player, the glass faces would look much the same.

Actual results

Glass blocks do not use mipmapping, so they remain largely transparent at large distance, whereas glass panes do use mipmapping resulting in them fading to a solid color at the same distance.

Linked issues

Attachments

Comments

muzikbike

This also causes some rather distracting patterns in areas with a lot of glass:

[media]

[media]

[media]

[media]

[media]

[media]

[media]

Ceresjanin123

No that's intentional. Glass, redstone wire, chains and tripwire intentionally have mipmapping disabled because otherwise they melt into nothing. So the bug is that glass panes incorrectly do have mipmapping.

Unless Mojang adds anisotropic filtering these blocks cannot have mipmapping.

[media]

Now what is an issue is basically every other cutout block has mips disabled for no reason and mojang isn't keen on fixing it MC-195505 MC-277120 etc.

muzikbike

(Unassigned)

Confirmed

Platform

Low

Rendering

1.20.1, 1.20.2, 24w46a

Retrieved