mojira.dev
MC-194675

While spectating a creeper, enderman, spider or cave spider, UI elements are rendered completely white

The bug

Any bossbar or status effect icon on screen is completely blank when viewing the perspective of the following mobs:

  • Enderman

  • Creeper

  • Spider

  • Cave Spider

It may relates to MC-192290 as the video attachments also includes this issue

Code analysis by @unknown can be found in this comment

Video

[media]

Linked issues

MC-194705 Status effect when I enter into the "creeper" or "spider" view Resolved MC-194882 Spectating entities that apply a shader breaks the display of hotbar and crosshair Resolved MC-197624 When entering a creeper in spectator with a potion effect on, the potion effect turns into a white square. Resolved MC-200040 spectating a mob does not show the texture of effects Resolved MC-205398 if you have effect on and spactate a creper and the effect become an white block Resolved

Attachments

Comments 5

Hey, I tried to debug this issue. Using the official Minecraft mappings, at the class GameRenderer, the problem seems to be the calling of

this.postEffect.process(float2);

If you disable just the post effect call, everything works. So the surrounding code is not the problem.

RenderSystem.disableBlend();
                RenderSystem.disableDepthTest();
                RenderSystem.disableAlphaTest();
                RenderSystem.enableTexture();
                RenderSystem.matrixMode(5890);
                RenderSystem.pushMatrix();
                RenderSystem.loadIdentity();
                this.postEffect.process(float2);
                RenderSystem.popMatrix();

So the PostPass class is the problem, the process method to be specific.

Can confirm in 20w49a.

Can confirm in 21w03a.

This bug no longer exists as of 21w10a.

As stated above, this issue appears to be fixed in 21w10a.

DrownedZombie

(Unassigned)

Confirmed

Low

Rendering

rendering

1.16.1, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, ..., 21w05a, 21w05b, 21w06a, 21w07a, 21w08b

21w10a

Retrieved