Log inGet started
Package

asc_dofmix.computeShader

README.md

asc_dofmix

Blends asc_gather's half-resolution bokeh back over the scene at full resolution, weighted by the full-resolution circle of confusion, so a pixel that is in focus keeps its own sharp sample while a defocused one takes the blur. The half-res image is read bilinearly by hand — textureLoad does not filter, and nearest-sampling an upscaled bokeh disc reads as compression.

Bindings

namekind
scene_colortexture2d
coc_maptexture2d — asc_coc's full-res output
dof_blurtexture2d — asc_gather's half-res output
lens_paramsbuffer — asc_lens_params
mix_outstorage2d (rgba8)