|
Blender V5.3
|
Functions | |
| float4 | transform (float4 hs_position) |
| template<typename T> | |
| T | read (T depth_buffer_value) |
| template float | read< float > (float) |
| template float4 | read< float4 > (float4) |
Reverse-Z utils functions.
We only modify the depth buffer content so we need to change the vertex Z position and modify every depth buffer read. This keeps the projection matrices the same as the rest of blender.
Definition at line 27 of file eevee_reverse_z_lib.bsl.hh.
Referenced by eevee::raytracing::denoise::bilateral_main(), eevee::dof::setup::stabilize::Resources::cache_init(), eevee::subsurface::Convolve::cache_populate(), eevee::dof::resolve::comp_main(), eevee::dof::setup::setup::comp_main(), eevee::subsurface::convolve_main(), eevee::dof::Accumulator::dof_slight_focus_gather(), eevee::motion_blur::flatten::flatten_comp(), eevee::forward_lighting_eval(), eevee::lightprobe::planar::display::frag_main(), eevee::motion_blur::gather::gather_comp(), eevee::motion_blur::gather::Resources::gather_sample(), eevee::film::Film::pixel_history_motion_vector(), eevee::film::Film::process_render_sample(), raytrace_planar(), raytrace_screen_2(), read(), read< float >(), read< float4 >(), eevee::fast_gi::resolve(), eevee::film::Film::sample_accum_mist(), eevee::subsurface::Convolve::sample_neighborhood(), eevee::fast_gi::SampleInput::sample_weight_get(), eevee::fast_gi::setup(), eevee::subsurface::setup_main(), eevee::light::shape_display_frag(), eevee::dof::resolve::Resources::slight_focus_coc_tile_get(), eevee::raytracing::denoise::spatial_main(), eevee::surf_forward(), eevee::raytracing::denoise::temporal_main(), eevee::raytrace::fallback::trace(), eevee::raytrace::planar::trace(), eevee::raytrace::screen::trace(), and eevee::hiz::update_main().
| template float reverse_z::read< float > | ( | float | ) |
References read().
| template float4 reverse_z::read< float4 > | ( | float4 | ) |
References read().
Definition at line 18 of file eevee_reverse_z_lib.bsl.hh.
References transform(), and float4::z.
Referenced by eevee::deferred::fullscreen_vert(), eevee::geom_curves(), eevee::geom_gsplat(), eevee::geom_mesh(), eevee::geom_pointcloud(), eevee::geom_volume(), eevee::geom_world(), eevee::light::shape_display_vert(), transform(), eevee::debug::surfels::vert_main(), eevee::lightprobe::planar::display::vert_main(), eevee::lightprobe::sphere::display::vert_main(), and eevee::lightprobe::volume::display::vert_main().