mojira.dev
MC-166397

Entities become white from certain angles when affected by glowing and invisibility effects

Entities becomes white from certain angles when it has glowing and invisible effects.

How to reproduce

(Provided by @unknown. This appears to be reproducable for only certain players)

  1. Get glowing and invisibility effect

    /effect give @s minecraft:glowing 100 1 true
    /effect give @s minecraft:invisibility 100 1 true
  2. Press F5 once and run /tp @s ~ ~ ~ -395 -54
    → ❌ Your character becomes fully masked

Linked issues

Attachments

Comments

migrated

Can confirm

migrated

Yep, this can happen, though it can be a bit hard to trigger. 
I reproed by shooting a cow with spectral arrows and then throwing a potion of invisibility at it. 

[Mod]Les3awe

Can't reproduce in 1.15-pre4.

migrated

I could, as is evident in the screenshot with snow in it. 🙂

migrated

This bug persists in Release 1.15 as well. One can see the proper outline of the entity if you are in spectator mode, or both the entity and the player are on the same team with seeFriendlyInvisibles set to true. It likely has to do with the rendering engine skipping the rendering of invisible entities, and that trips up the part that renders glowing. I once used a skin with partial transparency, and it looked very strange with the glowing effect applied. I reason the glowing effect is calculating based on the displayed texture, which would make sense that an invisible entity appears pure white if the textures are ignored with an optimized rendering engine.

What it is supposed to look like:

[media]

What it looks like in 1.15:

[media]

If you can see invisible entities in spectator mode or using a team:

[media]

[Mod]Les3awe

boq

Community Consensus

Important

Rendering

1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1

1.15.2 Pre-Release 1

Retrieved