asc_camsave.computeShader
- .metadata71 B
- README.md587 B
- bindings.yaml233 B
- shader.wgsl3.9 KB
README.md
asc_camsave
Copies this frame's @frame.camera into asc_prev_cam so asc_camblur has a
previous camera to re-project against. One thread, six vector stores, enqueued
after the blur has read the copy the last frame left.
lens_params[2].w (holdPrev) freezes the copy — the shutter's positive
control, where the previous camera is a chosen instant rather than one frame ago.
Bindings
| name | kind |
|---|---|
frame_cam | buffer — @frame.camera |
lens_params | buffer — asc_lens_params |
prev_cam | buffer — asc_prev_cam, read_write |