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]

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media]
violine1101

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

violine1101

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

Nightwind8887

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

Conem

Confirmed in 1.16-pre2.

Nightwind8887

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]
wobst.michael

Cannot reproduce with Fabulous!; at least with the provided reproduction steps. Is this still in 1.16-pre5?

Nightwind8887

particles, held transparent blocks, dropped transparent blocks, the player in spectator mode and clouds are still affected in pre 5

violine1101

Still able to get the exact same thing as described in the description with 1.16-pre5 and Fabulous. I have a GeForce GTX 1050 Ti, but the issue seems to be independent from the graphics card as far as I can tell.

Nightwind8887

Affects 1.16 release candidate 1

 

This affects block outlines as well

Nightwind8887

Affects 1.16.2

Nightwind8887

Affects 20w45a

Nightwind8887

Affects 20w46a

Nightwind8887

Affects 20w49a

Avoma

Can confirm in 20w51a.

Nightwind8887

Affects 21w03a

Avoma

Can confirm in 21w05b.

Nightwind8887

Affects 21w06a

Avoma

Can confirm in 21w07a.

Nightwind8887

Affects 21w11a

bugsbugsbugs

This also affects the block hitbox outline, semi-transparent entities and transparent items. Affected items are stained glass, honey blocks and slime blocks and probably more.

Nightwind8887

Affects 1.17 Pre-2

MMK21

Affects 1.17

ampolive

Can confirm in 1.17.1.

Nightwind8887

Affects 21w38a

Nightwind8887

Affects 21w40a

Nightwind8887

Affects 21w41a

Nightwind8887

Affects 21w42a

Nightwind8887

Affects 21w43a

Nightwind8887

Affects 1.18 Pre-1

Nightwind8887

Affects 1.18 Pre-3

Nightwind8887

Affects 1.18 Pre-6

MMK21

Affects 1.18

MMK21

Affects 1.18.1

MMK21

Affects 1.18.2

MMK21

Affects 1.19

Avoma

Can confirm in 1.19.2.

violine1101

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.

MMK21

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).

MMK21

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