Blender V5.3
eevee::dof::hole_fill Namespace Reference

Functions

void comp_main (Gather &gather, const Tiles &tiles, const uint3 global_id)

Detailed Description

Hole-fill pass: Gather background parts where foreground is present.

Using the min&max CoC tile buffer, we select the best appropriate method to blur the scene color. A fast gather path is taken if there is not many CoC variation inside the tile.

We sample using an octaweb sampling pattern. We randomize the kernel center and each ring rotation to ensure maximum coverage.

Function Documentation

◆ comp_main()