Commit 054ce1e
authored
Solari: Fix energy loss from rgb9e5 light tile packing (#21939)
After many many hours of debugging, I narrowed down the energy loss in
solari to rgb9e5float issues.
All credit to @SparkyPotato for the solution, which is to use a log
scale.
With this fix:
<img width="2564" height="1500" alt="image"
src="https://github.com/user-attachments/assets/96d34e39-b2e6-48aa-97f3-aeea835d1305"
/>
Without this fix:
<img width="2564" height="1500" alt="image"
src="https://github.com/user-attachments/assets/83be5dc0-e6ca-4561-bdcc-c5ecd8db51a4"
/>
Pathtraced reference:
<img width="2564" height="1500" alt="image"
src="https://github.com/user-attachments/assets/cdd73e51-7e60-486d-8868-446a0c46bd1a"
/>1 parent b908c05 commit 054ce1e
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
0 commit comments