mojira.dev
MCPE-159488

Lights are displaced from their source in RTX

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.

[media]

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.

[media]

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.

Linked issues

Attachments

Comments

migrated

If you update the blocks within the light area, does the light turn itself off?

MADLAD

Updating any nearby blocks does not remove the point light.

MADLAD

Still affects Preview 1.19.20.24. Please do not resolve this issue as it still occurs despite it's listing on the changelog.

Arisa Bot

⚠️ Please do not add Affected Versions to resolved reports.

Have a look at the Resolution and the comments to see why this ticket has been resolved. If you think this ticket has been resolved erroneously you can contact the Mojira staff on Discord or Reddit.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

MADLAD

It turns out that lanterns were the culprit for the point lights, I've updated this report accordingly.

migrated

Seeing this issue in a RTX enabled world (pc) on realms vs ps5 on same realm   Up voting to verify.  Had torchlights at the end of the room but it didn't emit enough light for the RTX (which hasn't worked well since update)  On RTX showed way way to much black in the aisle  

migrated

Is there any way to solve this in game? After placing lanterns I have random lights scattered all around

migrated

Affects 1.19.21

JohnnyTamale1

So here is two videos showing some more things I found related to this bug https://youtu.be/UsBx6nVvRh8 https://youtu.be/iOVaJbdXE4k

 

migrated

Still affects recent update 1.19.30.

 

MADLAD

Seems to be fixed in Preview 1.19.40.24

MADLAD

(Unassigned)

851030

Confirmed

Windows

Windows 10 Pro Build 19044

RTX, lantern, point-light, raytracing

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

1.19.71

Retrieved