Window glass: grey vertical drips from the dirt texture's opacity channel #190
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/lobomfz--VIctory-xmem#190
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@kyle41313 on GitHub · 2026-12-02 13:59 UTC · original
Symptom. The house desk window's glass shows grey vertical drips. Console footage of the same window under a similar sun shows even milky haze with dirt specks, and no drips.
Setup. RX 9070 XT, RADV, Proton Experimental 11.0, ray tracing off (
VICTORY_BVH_BUILDER=0).Cause, as far as found. The house glass pixel program
b37565055f2f7d3breads a dirt texture at console offset 0x5b0 (image_sample v[43:46], 2D). Its fourth channel, clamped at 0x9b8 (v_max_f32 v41, v46, v46 clamp), sets how much dirt covers each pixel. That channel draws the drips. Why it differs from the console is not known.Fix:
VICTORY_GLASS_DIRT_OPACITY=<float>(#194). For this program only, the result at 0x9b8 becomes the given constant. Off unless set; in the shader cache key. In game at 0.4: no drips, haze and specks kept. This is a workaround: it replaces the channel instead of repairing it. The patch builds on the stripes patch from #189 (it uses itspin_const); with it, it applies tod044248and compiles without warnings.Still open. The patio slider's lower pane and the bathroom window keep grey vertical smears with the switch on. Pinning every read of this program leaves the slider unchanged, so another program draws it. Does anyone know why the dirt texture's opacity channel would come out differently from the console?
Evidence: live pins and what was ruled out
Live pins at the desk window (a diagnostics build of ours, on
6dbc3e7), measured as the spread of column means across a pane (about 1.5 with drips):Ruled out, one launch each: stand-in textures (a local change to
KEEP_SHOWNin descriptor/host.rs), the older BC7 dictionary reading (VICTORY_BC7_DICTIONARY=0), and shadows (the sun-shadow reads 0x908-0x3958 pinned).No game files, captures or screenshots included.
Fix: pull request #194.