-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
section occlusion: work with just the index, not xyz
This actually is a lot faster since there is no need to push xyz recursively (benchmark goes down from 23s to 12s, so 48% improvement). This is time critical code, because occlusion is calculated on demand in the rendering thread and might cause stuttering when new chunks flow it (the meshing queue depends on it)
- Loading branch information
Showing
2 changed files
with
29 additions
and
28 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
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