Blender V5.3
eevee_depth_of_field_accumulator.bsl.hh File Reference

Go to the source code of this file.

Classes

struct  eevee::dof::DofGatherData
struct  eevee::dof::AccumulatorConstants
struct  eevee::dof::Accumulator

Namespaces

namespace  eevee
namespace  eevee::dof

Macros

Options.

Depth of Field Gather accumulator. We currently have only 2 which are very similar. One is for the half-resolution gather passes and the other one for slight in focus regions.

#define SRT_CONSTANT_is_hole_fill   0
#define gather_ring_count   int(DOF_GATHER_RING_COUNT)
#define gather_ring_density   int(3)
#define gather_max_density_change   int(50)
#define gather_density_change_ring   int(1)
Constants.
#define unit_ring_radius   float(1.0f / float(gather_ring_count))
#define unit_sample_radius   float(1.0f / float(gather_ring_count + 0.5f))
#define large_kernel_radius   float(0.5f + float(gather_ring_count))
#define smaller_kernel_radius   float(0.5f + float(gather_ring_count - gather_density_change_ring))
#define radius_downscale_factor   float(smaller_kernel_radius / large_kernel_radius)
#define change_density_at_ring   int((gather_ring_count - gather_density_change_ring + 1))
#define coc_radius_error   float(2.0f)

Macro Definition Documentation

◆ change_density_at_ring

#define change_density_at_ring   int((gather_ring_count - gather_density_change_ring + 1))

◆ coc_radius_error

#define coc_radius_error   float(2.0f)

◆ gather_density_change_ring

◆ gather_max_density_change

#define gather_max_density_change   int(50)

◆ gather_ring_count

#define gather_ring_count   int(DOF_GATHER_RING_COUNT)

◆ gather_ring_density

#define gather_ring_density   int(3)

◆ large_kernel_radius

#define large_kernel_radius   float(0.5f + float(gather_ring_count))

Definition at line 66 of file eevee_depth_of_field_accumulator.bsl.hh.

◆ radius_downscale_factor

◆ smaller_kernel_radius

#define smaller_kernel_radius   float(0.5f + float(gather_ring_count - gather_density_change_ring))

Definition at line 67 of file eevee_depth_of_field_accumulator.bsl.hh.

◆ SRT_CONSTANT_is_hole_fill

#define SRT_CONSTANT_is_hole_fill   0

Definition at line 26 of file eevee_depth_of_field_accumulator.bsl.hh.

◆ unit_ring_radius

◆ unit_sample_radius