-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for an Atlas allocator for shadow maps
This feature is controled by a feature flag and is turned off at this point. This CL shouldn't change the existing behavior of shadowmap allocation as long as the atlas feature is not enanled. When enabled, shadowmap allocations are not limited to layers of the shadowmap texture, instead, an atlas is used meaning a layer can be shared by multiple shadowmaps. At the very least this can save a lot of memory as smaller shadowmaps can be packed together. Currently this feature breaks some VSM features: - mipmapping - blurring
- Loading branch information
1 parent
1af9f0e
commit 79b4ad3
Showing
8 changed files
with
158 additions
and
50 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
Oops, something went wrong.