·
computeshader · drop-in viewer
asc_blurmix.computeShader
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 rec…
by·posted 3mo ago
What it does
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) |
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.