Builtin Library
- ..
- README.md702 B
- bindings.yaml409 B
- shader.wgsl6.6 KB
README.md
mb_gather
The reconstruction. Walks the neighbourhood's dominant velocity and this pixel's own, and weighs each tap by whether it was in front, behind, or moving alongside this pixel during the exposure — which is what keeps a motion boundary from averaging into mush.
Includes
mb_velocity
Bindings
| name | kind |
|---|---|
scene_color | texture2d |
scene_depth | texture_depth |
scene_motion | texture2d |
neighbor_max | texture2d |
frame_cam | buffer |
motion_blur_params | buffer |
blur_out | storage2d (rgba16f) |
frame_cam is the frame's camera block: the inverse view-projection in rows 0-3
and the camera position in row 4.