diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2017-09-16 09:35:20 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2017-09-17 17:58:07 -0700 |
commit | fc1a7bc862121c81a4b1e6075c9c0d3381e2f1bb (patch) | |
tree | 4696e54fda172b4310f608dc8fa860def31b0a52 /src/modules/sparkler/list.h | |
parent | 337440d4a0f141c036e057ecc4fe4f4b808ff9c0 (diff) |
ray: stop recurring below a relevance threshold
There's no point computing more reflections if they're not going
to contribute substantially to the resulting sample. Previously
the max depth threshold solely controlled how many times a given
ray could reflect, this commit introduces a minimum relevance as
well. Value may require tuning, may actually make sense to move
into the scene description as a parameter.
Brings a minor frame rate improvement.
Diffstat (limited to 'src/modules/sparkler/list.h')
0 files changed, 0 insertions, 0 deletions