Commit aa15d83
committed
Clear attenuation for directional lights in batch renderer
Directional lights don't have attenuation, but we were setting (1, 0, 0),
indicating constant attenuation. This bumped against a Hydra bug where
attenuation was used to determine whether a light was directional.
Ensure directional lights have attenuation = (0, 0, 0).1 parent 03e5aa8 commit aa15d83
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
605 | 608 | | |
606 | 609 | | |
607 | 610 | | |
| |||
0 commit comments