Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-159488

Lights are displaced from their source in RTX


    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.71
    • Preview, Preview, Preview, Preview, 1.19.20, 1.19.21 Hotfix, 1.19.22 Hotfix, 1.19.30
    • Confirmed
    • Windows
    • 851030

      Lanterns (of both soul and normal variant) now distribute randomly placed point lights in the surrounding area of their location. This results in the game appearing to emit light from no visible light source in those positions.

      Steps to Reproduce:

      1. Enter any world with Ray Tracing on
        (You can use this pack to test the issue)
      2. Enter any area of the world where lanterns have been placed. An Ancient City is a good example of this.

      Observed Results:

      Random positions around the lanterns will have a point light placed, making it appear as though light is coming from nothing in those locations.

      Expected Results:

      Lantern's point lights should only be positioned in the proper place on the block, similar to how they functioned in previous versions of the game. Light should not emit in places where there are no light sources unless a Light Block is placed there.

      Bug Analysis:
      Here you can see how row of lanterns cast a point light every other block in positive direction equal to double the chunk relative X coordinate of each lantern.

      Here is a bigger view. The upper left chunk is casting point lights all over the 3 neighboring chunks, with each point light being offset by double the relative coordinates of each lantern.

      With this information it's likely that this bug is caused by a simple logic error where the point light's location offset from the origin of each chunk a lantern/end rod is in is accidentally doubled.

        1. end rod point light offset.png
          end rod point light offset.png
          792 kB
        2. end rod point light offset 2.png
          end rod point light offset 2.png
          1020 kB
        3. lantern point light offset.png
          lantern point light offset.png
          1.20 MB
        4. lantern point light offset 2.png
          lantern point light offset 2.png
          916 kB
        5. Screenshot_1712.png
          4.02 MB
        6. Screenshot_1715.png
          4.82 MB
        7. Screenshot (1642).png
          Screenshot (1642).png
          2.64 MB
        8. Screenshot (1643).png
          Screenshot (1643).png
          2.71 MB
        9. Screenshot (1646).png
          Screenshot (1646).png
          3.16 MB
        10. Screenshot (1648).png
          Screenshot (1648).png
          2.60 MB
        11. Screenshot (1682).png
          Screenshot (1682).png
          2.89 MB
        12. Screenshot (1683).png
          Screenshot (1683).png
          2.39 MB
        13. Screenshot (1684).png
          Screenshot (1684).png
          2.27 MB

            thelitningbolt MADLAD3718
            55 Vote for this issue
            18 Start watching this issue