Commit 6ed75ce
committed
Don't lose precision while linearizing light grid
In one step of light grid processing, values were converted from sRGB to
linear and stored in bytes. This unnecessarily loses precision during
the calculation.1 parent c143244 commit 6ed75ce
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3590 | 3590 | | |
3591 | 3591 | | |
3592 | 3592 | | |
3593 | | - | |
3594 | | - | |
3595 | | - | |
3596 | 3593 | | |
3597 | 3594 | | |
3598 | 3595 | | |
| |||
3602 | 3599 | | |
3603 | 3600 | | |
3604 | 3601 | | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
| 3605 | + | |
| 3606 | + | |
| 3607 | + | |
3605 | 3608 | | |
3606 | 3609 | | |
3607 | 3610 | | |
| |||
0 commit comments