asc_blurmix.computeShader
- .metadata71 B
- README.md748 B
- bindings.yaml410 B
- shader.wgsl2.9 KB
README.md
asc_blurmix
Blends asc_camblur's half-resolution smear back over the scene at full
resolution, weighted by the full-resolution camera velocity, so a pixel that is
standing still keeps its own sharp sample and only what actually moved during
the exposure takes the smear. The velocity is recomputed here from depth and the
two cameras — three loads and two matrix products, no gather.
Bindings
| name | kind |
|---|---|
scene_color | texture2d |
scene_depth | texture_depth |
blur_map | texture2d — asc_camblur's half-res output |
frame_cam | buffer — @frame.camera |
prev_cam | buffer — asc_prev_cam |
lens_params | buffer — asc_lens_params |
mb_out | storage2d (rgba8) |