Skip to content

Fix incorrect lighting between chunks - #4292

Open
willymv wants to merge 2 commits into
webbukkit:v3.0-community-editionfrom
willymv:fix/chunk-section-lighting
Open

willymv wants to merge 2 commits into
webbukkit:v3.0-community-editionfrom
willymv:fix/chunk-section-lighting

Conversation

@willymv

@willymv willymv commented Nov 6, 2026 •

Copy link
Copy Markdown

Fixes incorrect lighting rendering because of Dynmap replacing a chunks light data.

Minecraft's chunk status values now contain the "minecraft:" prefix and chunks generated on a Paper server have their "isLightOn" set to false for every chunk. Either one of these cause the if statement to pass, forcing dynmap to replace all the light values and ignore the chunks actual light data.

Every chunk generated from Paper has Starlight data in it, making it pretty easy to determine if the "isLightOn" value can be trusted.

If light data is actually wrong in the chunk data for whatever reason, it will continue to render with sharp looking shadow. I don't believe this is a Dynmap issue.

beforevsaftershadowfix

@willymv
willymv marked this pull request as ready for review November 8, 2026 11:22
@willymv
willymv requested a review from a team November 8, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant