|
Blender V5.3
|
#include "eevee_colorspace_lib.bsl.hh"#include "eevee_depth_of_field_lib.bsl.hh"#include "eevee_reverse_z_lib.bsl.hh"#include "eevee_sampling_lib.bsl.hh"#include "gpu_shader_debug_gradients.bsl.hh"#include "gpu_shader_math_angle.bsl.hh"#include "gpu_shader_math_matrix_construct.bsl.hh"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) |
| #define change_density_at_ring int((gather_ring_count - gather_density_change_ring + 1)) |
Definition at line 70 of file eevee_depth_of_field_accumulator.bsl.hh.
Referenced by eevee::dof::Accumulator::dof_gather_accumulator().
| #define coc_radius_error float(2.0f) |
Definition at line 71 of file eevee_depth_of_field_accumulator.bsl.hh.
Referenced by eevee::dof::Accumulator::dof_gather_accumulator().
| #define gather_density_change_ring int(1) |
Definition at line 40 of file eevee_depth_of_field_accumulator.bsl.hh.
Referenced by eevee::dof::Accumulator::dof_gather_accumulator(), and eevee::dof::Accumulator::dof_gather_total_sample_count_with_density_change().
| #define gather_max_density_change int(50) |
Definition at line 39 of file eevee_depth_of_field_accumulator.bsl.hh.
Referenced by eevee::dof::Accumulator::dof_gather_accumulator().
| #define gather_ring_count int(DOF_GATHER_RING_COUNT) |
Definition at line 37 of file eevee_depth_of_field_accumulator.bsl.hh.
Referenced by eevee::dof::Accumulator::dof_do_density_change(), and eevee::dof::Accumulator::dof_gather_accumulator().
| #define gather_ring_density int(3) |
Definition at line 38 of file eevee_depth_of_field_accumulator.bsl.hh.
Referenced by eevee::dof::Accumulator::dof_gather_accumulator().
| #define large_kernel_radius float(0.5f + float(gather_ring_count)) |
Definition at line 66 of file eevee_depth_of_field_accumulator.bsl.hh.
| #define radius_downscale_factor float(smaller_kernel_radius / large_kernel_radius) |
Definition at line 69 of file eevee_depth_of_field_accumulator.bsl.hh.
Referenced by eevee::dof::Accumulator::dof_do_density_change(), and eevee::dof::Accumulator::dof_gather_accumulator().
| #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.
| #define SRT_CONSTANT_is_hole_fill 0 |
Definition at line 26 of file eevee_depth_of_field_accumulator.bsl.hh.
| #define unit_ring_radius float(1.0f / float(gather_ring_count)) |
Definition at line 64 of file eevee_depth_of_field_accumulator.bsl.hh.
Referenced by eevee::dof::Accumulator::dof_do_density_change(), and eevee::dof::Accumulator::dof_gather_accumulator().
| #define unit_sample_radius float(1.0f / float(gather_ring_count + 0.5f)) |
Definition at line 65 of file eevee_depth_of_field_accumulator.bsl.hh.
Referenced by eevee::dof::Accumulator::dof_gather_accumulator(), and eevee::dof::Accumulator::dof_gather_init().