Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip lighting calculations in non-lit render mode
CamRenderer::calculateLightIntersections() was being invoked even when lights were not being rendered, which is a complete waste of CPU cycles.
- Loading branch information
Matthew Mott
committed
Dec 14, 2020
1 parent
05eb111
commit a8a19be
Showing
2 changed files
with
23 additions
and
8 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