Repository navigation
Reflections: the miss program's sky is left out only while the structure builder is off (black metal and glass with RAY TRACING on) - #3058
Conversation
…ure builder is off trustno1-coder#428 left out CS_RayMiss for opaque and transparent surfaces, because without the ray-tracing structures nearly every ray reaches it and took the sky's light (white grain on floors). The check did not ask whether the builder runs, as every other ray-tracing skip does (pipeline::make's left_out, draw's builder dispatches, ambient): with RAY TRACING on (VICTORY_BVH_BUILDER=1) rays that really found nothing still went without the sky. Now it is left out only while pipeline::builder_runs() is false. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note on the failing check job: it stops at 🤖 Generated with Claude Code |
|
Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch |
|
Correction to the evidence above: the ladder before/after was run-to-run variation, not this change. I ran it properly: 4 fresh RT starts each, alternating, same save, same settings (RTX 3090, RAY TRACING on, shaders already compiled).
So the black ladder/railing/patches are an intermittent ray-tracing problem in both builds, varying from start to start (plausibly the overlapping dynamic structures of #1412; cf. #2109's "about 1 run in 3 clean"). This PR doesn't fix them, and my single-run comparison overstated it. Sorry for the noise, and to anyone who picked it up on that basis. What remains true: with the builder on, 🤖 Generated with Claude Code |
|
Closing for now, per the correction above: the visible difference I reported was run-to-run variation, and the change's benefit isn't demonstrated. I'll come back with N-run evidence once the intermittent ray-tracing corruption (#1412-type) is understood, if it still matters then. 🤖 Generated with Claude Code |
What happens
With RAY TRACING on (
VICTORY_BVH_BUILDER=1), reflections whose rays really find nothing come out black instead of taking the sky. On the house balcony the aluminium ladder, white with ray tracing off, turns black, and the glass door's panes go black too.Why
#428 left out
CS_RayMissfor opaque and transparent surfaces (DrawCtx::sky_miss_left_out). Without the ray-tracing structures nearly every ray reaches it and took the sky's light (white grain on floors), so leaving it out was right with the builder off. The check never asks whether the builder runs, though. Every other ray-tracing skip does:pipeline::make'sleft_out, the builder dispatches indraw.rs, andambient. With the builder on, rays that reach the miss program have really found nothing and should take the sky. They got nothing.The change
sky_miss_left_outalso requires!crate::pipeline::builder_runs(). With the builder off nothing changes. With it on, the miss program runs as the title intends. (While the builder rests for its two frames,builder_runs()is false and the program stays out, as before.)This is complementary to #2764 / #2872, which clear the left-out program's output: with the builder on, it isn't left out any more.
Tested
RTX 3090 24 GB, Windows 11, main
829188e9(+ the 2-line start fix of #2392 to get past the commit-gate regression on this PC), Series S, DLSS performance, a frozen balcony save, RAY TRACING on. Shaders were compiled by earlier runs (the first run with the builder crawls at ~0.1 fps while the RT shader set compiles and static structures are rehydrated).&&).Not this change: in some captures with RT on, the near railing's top turns black for a while, on main too. I'm looking into that separately.
🤖 Generated with Claude Code