#1145 Weather: rain no longer falls inside under a sloped roof #1163
No reviewers
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream!1163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "TheSlowly/Slipstream:weather-rain-sloped-roof-1145"
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?
Part of #1145 (rain streaks about a metre inside a steep sloped roof, and through the room below).
Cause: the weather occlusion map is drawn with the projector depth pipelines, which carry the shadow slope bias (RenderVKShadowBiasSlope, default 2). A 45-60 degree roof is stored 0.75-1.3 m lower than it is (more on the rain-tilted map). The streak test then used only the coarse map, a nearest sample, and a 0.4 m allowance.
Change (clean_weather_sim.comp, streak test only; the map itself is unchanged):
Tested in-world: no streaks under a pitched slate roof; rain still reaches the eaves outside.
Leaves #1145 open for the follow-up (the remaining indoor leak is the static-prim mover jitter, fixed separately). Not covered here: surface wetness and snow cover still read the biased map.
Merged to main (cherry-picked) as
ae2b972c16, tested in-world by the owner together with the other open PRs. Thank you!Owner test: much less rain inside under the sloped roof. Leftovers for a follow-up: a little rain still appears near the sloped roof, and the roof rivulets sometimes clip inside.