Skip to content

radiance: multi-frame reuse for revisited cache cells - #91

Merged
f1ames0ff merged 1 commit into
masterfrom
feat/idtech8-radiance-cache-accumulation
Nov 11, 2026
Merged

f1ames0ff merged 1 commit into
masterfrom
feat/idtech8-radiance-cache-accumulation

Conversation

@f1ames0ff

Copy link
Copy Markdown
Owner

A revisited cell accumulates its radiance with a running average: pad.x is the sample count capped at 64, and the new sample blends with 1/samples. The shader and the CPU twin share the rule.

CPU tests: 38 checks, 0 failures. Runtime hot-swap on the master build, e1m1, rt_radiance_cache 1, rt_light_volume 1: baseline [63.75, 36.91, 29.62] (24,696 hits) vs accumulation [69.81, 43.31, 35.22] (15,459 hits), mean absolute image difference 6.64, 0 NVRHI::ERROR. The hit-count difference is run-state; the image shift is the accumulated cell radiance.

@f1ames0ff
f1ames0ff merged commit 200d3b8 into master Nov 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant