-
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.
We were calculating the shadow visibility of spot/point lights. The visibility was calculated during the "execute" phase of the FrameGraph but it was used/needed during the setup phase. The result was that the visibility was always delayed by one frame (really it was stale data from the previous calculation). We are now computing the shadow visibility earlier, during the setup phase. This is also better because we can now skip culling of these shadow maps entirely if we know they're not visible. Fixes #7715
- Loading branch information
1 parent
3ec2b47
commit 588a05f
Showing
2 changed files
with
136 additions
and
106 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
Oops, something went wrong.