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

Classes

struct  Resources

Functions

void comp_main (Resources &srt, const draw::View &views, const uint3 global_id)

Detailed Description

Setup pass: CoC and luma aware downsample to half resolution of the input scene color buffer.

An addition to the downsample CoC, we output the maximum slight out of focus CoC to be sure we don't miss a pixel.

Input: Full-resolution color & depth buffer Output: Half-resolution Color, signed CoC (out_coc.x), and max slight focus abs CoC (out_coc.y).

Function Documentation

◆ comp_main()