-
-
Notifications
You must be signed in to change notification settings - Fork 581
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The old shadow kernel formula is not "wrong" per se, as the only judge is if it looks good. However, the formula used is not really gaussian. Also, the kernel size calculation doesn't really make sense to me. This commit change the kernel formula to actually use a gaussian distribution. As far as I can tell, there is no perceivable difference. Except now the effective shadow radius is smaller for the same config. Also, made that part of code a bit more mordern. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
- Loading branch information
Showing
2 changed files
with
23 additions
and
17 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