#1611: GI fresh rays walk a low-discrepancy sequence per texel #1612

Closed
TheSlowly wants to merge 0 commits from TheSlowly/Slipstream:gi-ray-sequence into main
Collaborator

Fixes #1611.

The GI's fresh ray direction was hashed with the frame, so it was white noise and the R2 step on top did nothing. Now each texel keeps a fixed random rotation and steps R2 per frame (32-bit fixed point), like the RT reflections' rtrLobeDir. One-function shader change. Ran in-world for two days with no visible regression; no measurable change in the noise meter in the town scene.

Fixes #1611. The GI's fresh ray direction was hashed with the frame, so it was white noise and the R2 step on top did nothing. Now each texel keeps a fixed random rotation and steps R2 per frame (32-bit fixed point), like the RT reflections' rtrLobeDir. One-function shader change. Ran in-world for two days with no visible regression; no measurable change in the noise meter in the town scene.
giFreshRay hashed the texel together with the frame, so every frame's
direction was independent white noise and the R2 step added on top had
no effect. Hash the texel only (a fixed rotation) and step R2 by frame
in 32-bit fixed point, as rtrLobeDir does for the RT reflections.
Author
Collaborator

Merged into main in fedb692509; closing.

Merged into main in fedb692509; closing.
TheSlowly closed this pull request 2026-11-22 03:07:41 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream!1612
No description provided.