Streamline FG constants: leave the camera's motion to the motion vectors (object-edge ghosting in generated frames) #554
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!554
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-554"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@lingbz112 on GitHub · 2026-12-06 02:25 UTC · original
lingbz112:fix/streamline-fg-camera-ghosting→main· +44 −19 · 1 files · 1 commits · openWhat
With frame generation on the Streamline backend, the generated frames ghosted along every object's edge — foliage, vehicle silhouettes, and glow smears around bright light sources — while the upscaled picture itself was clean.
Cause
The frame's Streamline constants told DLSS-G two conflicting things at once:
camera_motion_included = true), andclip_to_prev_clip/prev_clip_to_clip) and a real camera pose.With the camera's motion counted twice, generated frames misplaced objects against the background. The error showed worst at depth discontinuities — exactly at every object's edge.
Fix
ForStreamline::constantsnow gives the constants as Darner gives them (which shows generated frames clean):Everything else — jitter, motion vector scale, depth and the flag fields — is unchanged.
Testing
In-game before/after comparison with frame generation on: edge ghosting on foliage and vehicle edges and the glow halos around light sources are gone; the upscaled picture is unchanged.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.