commit | a8682204dc3dfee150c24afdae3e8c275e14c130 | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Thu Dec 17 10:18:16 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Dec 17 18:04:15 2020 +0000 |
tree | 1d798ea0c911713e062987b779a8d69bd2714033 | |
parent | dc3332a07906872f37ec3a592db7831178886527 [diff] |
Fix shadow directional light bounds. The shadowRec bounds code didn't handle directional lights, that's now fixed. Also fixes normalization of the light direction -- it was only using two components, it should use all three. Bug: skia:10781 Change-Id: Ia7d39c5187f976627d017ac4abecbe1d1dc62712 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/345126 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>