Bake raycast ambient occlusion into the static scene #167
No reviewers
Labels
No labels
animation
audio
blocked
bug report
controversial
documentation
easy
feature request
hard
medium
multiplayer
physics
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
elsie/liuverse!167
Loading…
Reference in a new issue
No description provided.
Delete branch "bake-raycast-occlusion"
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?
The bake CLI now builds the scene once and traces a deterministic ray set against a coarse occupancy grid, so interiors, corners, doorways and wall bases carry real occlusion instead of the flat ambient fill. Each interior building stores a small visibility grid of ring and sky shares; the client interpolates it per vertex into the existing AO channel, multiplied into the cavity and ground-contact terms.
The bake grows by about 0.57 MB and is byte-for-byte deterministic. OSM shells and outdoor-only geometry keep the analytic terms.
closes #82
04156d9297to95b1071409