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

Classes

struct  Resources

Functions

void comp_main (Resources &srt, TilesWrite &tiles, const uint3 group_id, const uint3 global_id, const uint local_index)

Variables

static constexpr uint dof_tile_large_coc_uint = floatBitsToUint(dof_tile_large_coc)

Detailed Description

Tile flatten pass: Takes the half-resolution CoC buffer and converts it to 8x8 tiles.

Output min and max values for each tile and for both foreground & background. Also outputs min intersectable CoC for the background, which is the minimum CoC that comes from the background pixels.

Input:

  • Half-resolution Circle of confusion. Out of setup pass. Output:
  • Separated foreground and background CoC. 1/8th of half-res resolution. So 1/16th of full-res.

Function Documentation

◆ comp_main()

void eevee::dof::tile_flatten::comp_main ( Resources & srt,
TilesWrite & tiles,
const uint3 group_id,
const uint3 global_id,
const uint local_index )

Variable Documentation

◆ dof_tile_large_coc_uint

uint eevee::dof::tile_flatten::dof_tile_large_coc_uint = floatBitsToUint(dof_tile_large_coc)
staticconstexpr

Definition at line 51 of file eevee_depth_of_field_tiles.bsl.hh.

Referenced by comp_main().