mojira.dev
MC-58177

Night vision rendered darker and orange when nearing light sources with brightness on moody

The bug

When exploring mineshafts using night vision, I found that the blocks nearing light sources always become darker and more orange. But the block just beside the light source is normal.

How to reproduce

  1. Set brightness in video options to minimum

  2. Make/Go to a place with light level 0. (Note: It does something else if exposed to sky, but still looks weird though.)

  3. Get Night Vision effect.

  4. Place any kind of light source.

  5. The blocks near but not beside the light source are rendered darker. (Note: Lava blocks and Fire blocks are rendered too dark too!)

New founds added 6/24:

Finally I got the idea why night vision looks weird under night sky. I found a ravine with a hole above it, and compare to the non exposed area, the place under the night sky are extremely blue.

How to reproduce

  1. Set brightness in video options to minimum

  2. Make (since it's a little difficult to find) a huge (at least 30x10x30) room with light level 0. (Suggested that use stone with some lapis ores)

  3. Get Night Vision effect.

  4. Make sure it's night time in game.

  5. Break a hole on the roof.

  6. Enjoy! Don't forget to try Fire blocks, they look FUNNY!! (?! Just kidding XD)

Code analysis

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

Linked issues

Attachments

Comments 19

Samuel Klumpers

Is your Java already the latest Java, if it is please add it to the "Java 7" in your environment.

can confirm with brightness on minimal

Somewhat confirmed with brightness on minimum.

Lava blocks and Fire blocks also have REALLY WEIRD dark blue color! :I

Confirmed for 14w26a and b

9 more comments

@@unknown, 19w42a is this ticket MC-161849.

Is this fixed in 19w45a? It's hard for me to tell 😛

Yeah it seem to be fixed in 19w45a for me.

Still fixed in 19w45b.

this seems to be a glitch in 1.18!

[media]

Tangent65536

(Unassigned)

Confirmed

Lighting, Rendering

brightness, color, light, night-vision, rendering

Minecraft 14w25b, Minecraft 14w26b, Minecraft 14w26c, Minecraft 14w27a, Minecraft 14w27b, ..., Minecraft 1.14.2, 1.14.4, 19w35a, 19w42a, 19w44a

19w45a

Retrieved