|
Blender V5.3
|
Classes | |
| struct | Resources |
Functions | |
| void | comp_main (Resources &srt, const draw::View &views, Tiles &tiles, const uint3 global_id, const uint local_index) |
Recombine Pass: Load separate convolution layer and composite with self slight defocus convolution and in-focus fields.
The half-resolution gather methods are fast but lack precision for small CoC areas. To fix this we do a brute-force gather to have a smooth transition between in-focus and defocus regions.
| void eevee::dof::resolve::comp_main | ( | Resources & | srt, |
| const draw::View & | views, | ||
| Tiles & | tiles, | ||
| const uint3 | global_id, | ||
| const uint | local_index ) |
Definition at line 114 of file eevee_depth_of_field_resolve.bsl.hh.
References abs, eevee::dof::Accumulator::bokeh_lut_tx, comp_main(), eevee::dof::Accumulator::consts, debug_resolve_perf, CocTilePrediction::do_background, CocTilePrediction::do_focus, CocTilePrediction::do_foreground, CocTilePrediction::do_hole_fill, CocTilePrediction::do_slight_focus, eevee::dof::Accumulator::dof_buf, dof_coc_from_depth(), dof_coc_tile_load(), dof_coc_tile_prediction_get(), eevee::dof::Accumulator::dof_slight_focus_gather(), float, frag_coord, global_invocation_id, imageStore(), local_invocation_index, no_background_pass, no_focus_pass, no_foreground_pass, no_hole_fill_pass, no_slight_focus_pass, reverse_z::read(), resource_table, colorspace::safe_color(), safe_rcp(), static_branch, textureLod(), textureSize(), tiles, and eevee::dof::AccumulatorConstants::use_lut.
Referenced by comp_main().