This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Fix chunk relighting In order to make relighting more reliable, move the emptiness map lookups to their own cache. This allows us to not clobber/use emptiness map values for chunks that were not relight during the call. More importantly, fix a typo where we supplied the wrong chunk argument to the emptiness change function for chunk neighbours - this caused the nibbles for the target chunk to be clobbered. 2. Fix broken edge checks While edge checks are not currently used, it doesn't mean they should be broken. Edge checks should be able to happen on null nibbles for block lighting (sky lighting will not have nibbles marked null during edge checks). 3. Make handleEmptySectionChanges non-relaxed serverside For the server, it should be that the chunks in 1 radius are loaded during this call. 4. Fix incorrect neighbour nibble init logic We need to be copying the whole array, not just the first 9 values. 5. Fix potential missed updateVisible calls rewriteNibbleCacheForSkylight could set a value in the cache to null and not update the nibble. Now the call will call updateVisible when removing nibbles from the cache. 6. Fix skylight propagation on the -1 chunk section Allow sources to be set up on y=-16, and fix light retrieval for y < -16
- Loading branch information
1 parent
1da2560
commit 7b0a56c
Showing
9 changed files
with
92 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Starlight (BETA) | ||
Starlight (Fabric) (BETA) | ||
== | ||
Fabric mod for completely rewriting the vanilla light engine. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.