Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shadow Bias: Integrated BiasSurface, optimized linking mechanism
The previous implementation maintained a global linked list of all the bias surfaces in the map. This meant that the unlink algorithm (which had to support dynamic unlinking) was of the order O(n) and consequently unlinking often took far longer than it should. The revised mechanism dispenses with the global list entirely and instead a simple traversal of the Map element LUTs is used when performing bias lighting updates.
- Loading branch information
1 parent
89a5612
commit b0a311d
Showing
12 changed files
with
588 additions
and
270 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
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.