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

Shadows and underwater texture don't transition smoothly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w40a
    • None
    • Confirmed
    • Rendering
    • Normal
    • Platform

      After MC-259651 got fixed in 24w40a, entity shadows and the underwater texture now transition again when night starts or ends. Howerver, the transition is not smooth and the light level on them changes abruptly (just like blocks and entities did before Beta 1.8). This is not the case for vignette, as it progresses its own brightness based on light.

      How to reproduce:

      1. Summon or find an entity that is exposed to the sky and has a shadow below it.
      2. Use command "/time set 12140" and watch the shadow as night progresses.
         The shadow doesn't fade smoothly (works better if there are no light blocks surrounding the entity)

      Possible fix:
      Use a floating point field instead of integer skyDarken so brightness increases/decreases smoothly every thick instead of updating it every few seconds. / Use light map coordinates instead of brightness value for these textures when possible.

        1. MC-277218 (sheep).mp4
          6.37 MB
          Ismael Rosillo
        2. MC-277218 (sheep & water).mp4
          5.97 MB
          Ismael Rosillo

            Unassigned Unassigned
            ISRosillo14 Ismael Rosillo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: