mojira.dev
MC-4647

World turns completely black when having night vision, and being in the void or having blindness

The bug

If the player is under the effects of both Blindness and Night Vision at the same time, the world becomes completely black. HUD things like hand, debug info and inventory, as well as the sky, are still visible. This also occurs if you have Blindness while underwater, or Night Vision while at a negative Y level.

How to reproduce

  1. Navigate to the Void (Y level < 0) or give yourself Blindness with /effect @p blindness

  2. Give yourself the night vision effect with /effect @p night_vision
    → ❌ Notice the screen becomes completely black, effectively hiding the world.

  3. Alternatively, give yourself Blindness while underwater.

Affected graphics cards

Possibly all non-NVIDIA ones

OpenGL: AMD Radeon HD 6800 Series GL version 4.5.13417 Compatibility Profile Context 15.301.1901.0, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
AMD Radeon HD 8250
4.3.12618 Compatibility Profile Context 13.251.0.0

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

MC-9466 It's dark under lava with nightvision effect Resolved MC-10898 Night vision potion effect under bedrock level will give full darkness Resolved MC-17787 Disappearing World Resolved MC-48484 Everything is black with Night Vision below Y-Level 0 Resolved MC-48578 Total blackout when using night vision and in the void Resolved

Attachments

Comments 52

Can confirm.

Yes, it is. I get the bug in 1.6.2.

Confirmed in 1.7.2 and on Windows (8).

Yes, Galaxy_2Alex, this is still an issue

Can confirm in 1.8 Pre release 1

42 more comments

Can't seem to reproduce this in 1.17.1 rc1 with Intel, can anyone check?

anthony cicinelli

I also cannot seem to reproduce in 1.17.1

This does indeed seem to be fixed.

also fixed in 21w37a - seems like it can be closed

@Haradion This report has already been resolved 🙂

Norrius

Sonicwave

(Unassigned)

Confirmed

Normal

Rendering

blindness, fog, nightvision, rendering, underwater-visibility, void, world

Snapshot 12w50b, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w01b, Snapshot 13w02a, ..., 21w07a, 21w08b, 21w10a, 21w11a, 21w13a

Minecraft 17w06a

Retrieved