Skip to content

fix(gpu): allow reflection and sky-visibility fallback passes when BVH builder is off - #27

Merged
HumanlyDev merged 1 commit into
mainfrom
fix/bvh-hold-allow-reflection-fallbacks
Nov 27, 2026
Merged

HumanlyDev merged 1 commit into
mainfrom
fix/bvh-hold-allow-reflection-fallbacks

Conversation

@HumanlyDev

Copy link
Copy Markdown
Owner

Summary

  • Exempt reflection and sky-visibility fallback passes from \walk_held()\ (\pipeline.rs): When \VICTORY_BVH_BUILDER\ is off, \walk_held()\ dropped every \image_bvh*\ compute dispatch, including \CS_Reflections_Raytrace, \CS_GlossyReflections, and \CS_SkyVisibility. Dropping those dispatches prevented their non-BVH sky/reflection-probe miss fallbacks from running, leaving off-screen water reflection UAVs zeroed (producing the sharp wavy dark cutoff on foreground water when SSR misses).
  • Those shaders now run their fallback paths unless \VICTORY_BVH_HOLD=all\ is explicitly set (\VICTORY_BVH_HOLD=0\ still disables holding altogether).

Verification

  • \cargo test -p victory-gpu --lib pipeline: 26 passed, 0 failed (including new \�vh_hold_exempts_reflection_and_sky_visibility_fallbacks).

@HumanlyDev
HumanlyDev merged commit 269fe7e into main Nov 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant