·
computeshader · drop-in viewer
asc_coc.computeShader
ASCENSION's circle-of-confusion pass: how far out of focus each pixel is, as a signed radius in pixels, from the scene depth and the lens `asc_shots` is driving.
by·posted 3mo ago
What it does
asc_coc
ASCENSION's circle-of-confusion pass: how far out of focus each pixel is, as a
signed radius in pixels, from the scene depth and the lens asc_shots is
driving.
The optics are @builtin::systems.depthOfField's, carried into the world
because that package's two .computeShader assets and its dof_common
.shaderModule are absent from this engine build's builtin bundle, so
bokehBlur.renderFeature drops on entry. The #include those files used is
folded into this one — the engine has no shaderModule asset type to resolve
it through.
Bindings
| name | kind |
|---|---|
scene_depth | texture_depth |
frame_cam | buffer — @frame.camera |
lens_params | buffer — asc_lens_params |
coc_out | storage2d (rgba16f) |
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.