|
Blender V5.3
|
Classes | |
| struct | Resources |
Functions | |
| void | comp_main (Resources &srt, const draw::View &views, const uint3 global_id) |
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).
| void eevee::dof::setup::setup::comp_main | ( | Resources & | srt, |
| const draw::View & | views, | ||
| const uint3 | global_id ) |
Definition at line 47 of file eevee_depth_of_field_setup.bsl.hh.
References clamp(), comp_main(), dof_bilateral_coc_weights(), dof_bilateral_color_weights(), dof_coc_from_depth(), dot(), global_invocation_id, imageStore(), quad_offsets, reverse_z::read(), reduce_add(), resource_table, colorspace::safe_color(), safe_rcp(), textureLod(), textureSize(), and eevee::dof::setup::weighted_sum_array().
Referenced by comp_main().