Pr/reflection miss #3580
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3580
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3580"
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?
@BaRian29 on GitHub · 2026-11-30 01:21 UTC · original
BaRian29:pr/reflection-miss→main· +51 −11 · 1 files · 2 commits · closed without mergingReflections: the miss program runs again where leaving it out left noise
Branch:
BaRian29:pr/reflection-miss(two commits onmain41adb551)Open: https://github.com/trustno1-coder/VIctory-NVIDIA/compare/main...BaRian29:VIctory-NVIDIA:pr/reflection-miss
Summary
Without the ray-tracing structures, the reflections' miss program is left out (
sky_miss_left_outindraw.rs). It was left out for the opaque and the alpha layers alike. What the rays did not resolve then held earlier frames' bytes:1. Transparent surfaces (the alpha layer). Water already kept its run for exactly that reason; glass needs the same. Without it, a yellow-green grain covered the car windows of the opening cutscene. Now only the opaque layer's run is left out (the white grain on parquet at grazing angles, 2026-11-27, which is why it was left out in the first place).
2. The opaque layer, when the reflection stand-in follows. Left out, the half-size reflection image, resolved from the frame before, fed those stale bytes back frame after frame: colour noise over a convex mirror and glowing blue patches on a cell floor (frame capture 14940; the writers of that image were found in the frame's operations, and leaving its last two passes out made the noise worse). The opaque run was left out for its sky light, the white grain. With the stand-in on (
VICTORY_AMBIENT_SPECULAR), that light is the estimate along the reflected direction, so the opaque run is kept then. Without the stand-in it is left out as before.miss_left_out(keep, estimated, layer)holds the rule;sky_miss_left_outpassescrate::ambient::on(Role::Miss).Evidence
RTX 4070 Ti SUPER, driver 621.40, Series S profile, 2026-11-29:
VICTORY_AMBIENT_SPECULAR=1; checked on screen and in a frame capture.Switches
VICTORY_RAYMISS_KEEP=1still runs the miss program for every layer, as before.Testing
main(same 34 / 35 warnings;mainfails-D warningswith errors invictory-shaderandvictory-loaderthat this branch does not touch).cargo test -p victory-gpu --lib -- --test-threads=1: 922 passed, including the newmiss_tests. The one failure,shader_cache::tests::every_switch_of_the_translator_is_in_the_key, is also onmain.@mstrmoos on GitHub · 2026-11-30 02:38 UTC · original
Tested a port of this on top of main
41adb551(plus local changes that don't touch reflections).only_the_opaque_layers_miss_program_is_left_out_and_not_with_the_estimatepasses.@ddam1k on GitHub · 2026-11-30 11:12 UTC · original
Setup: RTX 4070 Ti SUPER 16 GB, driver 580.88, Windows 10 22H2, 32 GB RAM. Built from main
41adb55+ #3580 (also #3500 and #3749, which don't touch reflections). 1080p → 1440p, DLSS Performance, frame generation 2x, ray tracing off, REFLECTION ESTIMATE on (VICTORY_AMBIENT_SPECULAR=1).Before (release v2026.11.29.04): green/yellow block artifacts on car paint, car windows and house windows, on every reflective surface I saw.
After: gone, on the same cars and windows, during a ~10 min drive through the city and highway.
@trustno1-coder on GitHub · 2026-12-01 18:50 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed