Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-194486

Nightvision effect stops working in Custom Worlds where ambient light set to negative value

XMLWordPrintable

    • Unconfirmed
    • (Unassigned)

      When you set the ambient light of a given dimension to a value below zero, like -0.1, the Night Vision effect no longer lights up darkened areas.

      The motivation here was to make a datapack that darkened the caves and shadows of the Overworld, but this bug has been a big problem in dev.

      With some experimenting, it looks like the cut-off point for the Night Vision effect breaking happens when the light level of a block is at 0 in a dimension where ambient light is set to -0.018. Anything above becomes hyper saturated, anything below becomes pitch black (see attached).

      I think the problems has to be with the way the night effect "lights up" darkened areas. On a side note; Optifine torches work fine in dimensions with negative ambient light, regardless of the setting. Maybe that could be helpful?

      Also, confirmed for 1.16.3. I've attached a few images of what it looks like in an Overworld with an ambient light of -0.02, along with a one-file datapack to show what I mean. The only value modified is "ambient_light" in overworld.json.

        1. 2020-09-11_00.01.12.png
          1.34 MB
          Alex Lecuyer
        2. 2020-09-11_00.01.20.png
          1.79 MB
          Alex Lecuyer
        3. 2020-09-11_00.03.16.png
          936 kB
          Alex Lecuyer
        4. 2020-09-11_00.03.44.png
          696 kB
          Alex Lecuyer

            Unassigned Unassigned
            BFSkinnyDipping Alex Lecuyer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: