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

Classes

struct  Resources

Functions

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

Detailed Description

Gather pass: Convolve foreground and background parts in separate passes.

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.

Outputs:

  • Color * Weight, Weight, Occlusion 'CoC' Depth (mean and variance)

Function Documentation

◆ comp_main()