asc_coc.computeShader
- .metadata71 B
- README.md778 B
- bindings.yaml259 B
- shader.wgsl3.0 KB
README.md
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) |