Skip to content

Solari: Reduce temporal shadow lag #25046

Open
JMS55 wants to merge 3 commits into
bevyengine:mainfrom
JMS55:solari7-previous-tlas
Open

Solari: Reduce temporal shadow lag #25046
JMS55 wants to merge 3 commits into
bevyengine:mainfrom
JMS55:solari7-previous-tlas

Conversation

@JMS55

@JMS55 JMS55 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Reduce DI shadow lag (doesn't seem to do much for GI, but hard to tell) by using the previous-frame TLAS for visibility testing in MIS when merging the temporal reservoir in.

This does cost more VRAM.

Thanks to @stuartparmenter for the idea.

@JMS55 JMS55 added A-Rendering Drawing game state to the screen S-Needs-Review Needs reviewer attention (from anyone!) to move forward C-Refinement Improves output quality, without fixing a clear bug or adding new functionality. labels Jul 17, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Rendering Jul 17, 2026
stuartparmenter added a commit to stuartparmenter/bevy that referenced this pull request Jul 18, 2026
Per-frame GPU-written vertex/index buffers become TLAS instances via
entity-keyed BLASes. Geometry BLAS builds fold into the TLAS build
encoder.

Geometry BLASes double-buffer (GeometryBlasEntry::previous_blas) so the
previous-frame TLAS retained for temporal MIS visibility (bevyengine#25046) keeps
referencing an intact BLAS instead of one rebuilt in place this frame.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Refinement Improves output quality, without fixing a clear bug or adding new functionality. S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

2 participants