mojira.dev
MC-186538

Clouds, transparent entities, and particles render behind water when looking through transparent blocks

When looking through transparent blocks (such as stained glass), then clouds, transparent entities, and particles in front of water are rendered behind the water instead.

This happens despite using Fabulous! graphics.

To reproduce

Clouds

  1. Build a water pool on the ground

  2. Fly above the clouds

  3. Place a platform of stained glass

  4. Look through the stained glass through the clouds onto the ground
    → ❌ The cloud doesn't render where the transparent blocks on the ground are

[media]

Transparent entities

  1. Build a water pool

  2. Throw a slime block item at the edge of the water pool

  3. Alternatively, summon an invisible armor stand and go into spectator mode

  4. Look at that item/entity through stained glass
    → ❌ The item/entity is rendered behind the water

[media]

[media]

[media]

Particles

  1. Build a water pool

  2. Place a campfire at the edge of the pool

  3. Throw a lingering potion

  4. Look at the campfire and particles through stained glass
    → ❌ The particles are rendered behind the water

[media]

Linked issues

Attachments

Comments 39

In the screenshot, the white dots on the pool are lily pads. The cloud renders properly in front of those.

Still happens in 1.16-pre1, graphics set to "Fabulous".

I did some testing and this affects the player in spectator mode and transparent items as well, and I imagine that all translucent entities are affected

Confirmed in 1.16-pre2.

Affects 1.16 Pre-3.

It affects held transparent items in third person mode as well as the things I listed in my previous comment.

It doesn't seem like it happens with enchanted items anymore though.

[media]
29 more comments

Affects 1.19

Can confirm in 1.19.2.

Confirmed in 23w14a. I've rewritten this bug report to make it easier to understand. Also, all of these rendering issues are specifically related to the water, so I've adjusted the bug report accordingly to reflect that.

However, not all cases shown in previous screenshots still happen:

  • Block outlines no longer are affected

    [media][media]
  • Enchanted items are no longer affected

    [media][media]

All other cases shown in the currently attached screenshots still occur as-is in 23w14a.

Affects 1.20.1. Note that there are some cases where this bug occurs without Water being present, e.g. particles + stained glass + Nether portal (as described by MC-187614).

Affects 1.20.4

violine1101

(Unassigned)

Confirmed

Platform

Normal

Rendering

20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, ..., 23w31a, 1.20.4, 1.20.5, 1.20.6, 24w18a

Retrieved