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

Lights are displaced from their source in RTX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.71
    • 1.19.30.21 Preview, 1.19.20.23 Preview, 1.19.30.20 Preview, 1.19.20.24 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
          792 kB
          MADLAD3718
        2. end rod point light offset 2.png
          1020 kB
          MADLAD3718
        3. lantern point light offset.png
          1.20 MB
          MADLAD3718
        4. lantern point light offset 2.png
          916 kB
          MADLAD3718
        5. Screenshot_1712.png
          4.02 MB
          MADLAD3718
        6. Screenshot_1715.png
          4.82 MB
          MADLAD3718
        7. Screenshot (1642).png
          2.64 MB
          MADLAD3718
        8. Screenshot (1643).png
          2.71 MB
          MADLAD3718
        9. Screenshot (1646).png
          3.16 MB
          MADLAD3718
        10. Screenshot (1648).png
          2.60 MB
          MADLAD3718
        11. Screenshot (1682).png
          2.89 MB
          MADLAD3718
        12. Screenshot (1683).png
          2.39 MB
          MADLAD3718
        13. Screenshot (1684).png
          2.27 MB
          MADLAD3718

            thelitningbolt MADLAD3718
            Votes:
            55 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: