Repository navigation
Commit 81398c8
Fix pathtracer double-counting ambient light
Skip ambient lights in next-event estimation since they are already
added when rays escape the scene. Fixes #491.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 02f30e2 commit 81398c8
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1564 | 1564 | | |
1565 | 1565 | | |
1566 | 1566 | | |
| 1567 | + | |
| 1568 | + | |
1567 | 1569 | | |
1568 | 1570 | | |
1569 | 1571 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1562 | 1562 | | |
1563 | 1563 | | |
1564 | 1564 | | |
| 1565 | + | |
| 1566 | + | |
1565 | 1567 | | |
1566 | 1568 | | |
1567 | 1569 | | |
| |||
0 commit comments