[GH-ISSUE #4344] Shader API: the frame says nothing about the frame before #1285

Closed
opened 2026-11-02 15:45:43 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Teiwazik on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4344

Originally assigned to: @Teiwazik on GitHub.

🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally.

What

Frame has nothing about the frame before: a temporal pass (TAA, reprojected accumulation, motion blur) can't tell where a point was last frame, and time alone doesn't give the frame's length. eye_light and eye_in step from one level to the next, so a pack's exposure or underwater fog that follows them jumps.

Proposal

Additively, within API 0.1: previous_view_projection, camera_motion and delta_time, and eye_light_smooth, in_water and in_lava eased over a short half-life, all kept by the renderer from frame to frame.

Originally created by @Teiwazik on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4344 Originally assigned to: @Teiwazik on GitHub. > 🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally. ## What `Frame` has nothing about the frame before: a temporal pass (TAA, reprojected accumulation, motion blur) can't tell where a point was last frame, and `time` alone doesn't give the frame's length. `eye_light` and `eye_in` step from one level to the next, so a pack's exposure or underwater fog that follows them jumps. ## Proposal Additively, within API 0.1: `previous_view_projection`, `camera_motion` and `delta_time`, and `eye_light_smooth`, `in_water` and `in_lava` eased over a short half-life, all kept by the renderer from frame to frame.
Author
Owner

@Teiwazik commented on GitHub (Oct 30, 2026):

/claim

<!-- gh-comment-id:6521097616 --> @Teiwazik commented on GitHub (Oct 30, 2026): /claim
Sign in to join this conversation.
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
horizon-rust/horizon#1285
No description provided.