Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commite87c1d413f

README.md

rcas

Robust contrast-adaptive sharpening of the shown picture, after the temporal stage, on display-referred code values. Each pixel is recombined with its four direct neighbours through a negative outer lobe whose strength is limited per pixel so the result stays inside [0, 1], scaled by the sharpness, and then held inside the range the pixel and its neighbours span: an edge gets steeper and gains no halo on either side.

The pass writes only what is shown. The temporal accumulation never reads it, so the sharpening is applied once per frame and does not compound.

Bindings

namekind
scene_colortexture2d
rcas_paramsbuffer
rcas_outstorage2d (rgba16f)

rcas_params[0].x is the sharpness in [0, 1], packed by @builtin::systems.antiAliasing.temporalAntiAliasing or @builtin::systems.temporalUpscale.temporalUpscale, whichever reconstruction runs it.