|
Blender V5.3
|
Namespaces | |
| namespace | detail |
Functions | |
| float | interleaved_gradient (float2 pixel, float seed, float offset) |
| float2 | interleaved_gradient_2d (float2 pixel, float2 seed, float2 offset) |
| float3 | interleaved_gradient_3d (float2 pixel, float3 seed, float3 offset) |
| float | pcg (float v) |
| float | pcg (float2 v) |
| float | pcg (float3 v) |
| float3 | pcg_3d (float3 v) |
| float4 | pcg_4d (float4 v) |
| template<typename T> | |
| float2 | hammersley_2d (T i, T sample_count) |
| template float2 | hammersley_2d< float > (float i, float sample_count) |
| template float2 | hammersley_2d< uint > (uint i, uint sample_count) |
| template float2 | hammersley_2d< int > (int i, int sample_count) |
Definition at line 215 of file eevee_sampling_lib.bsl.hh.
References float, hammersley_2d(), T, random::detail::van_der_corput_radical_inverse(), float2::x, and float2::y.
Referenced by eevee::raytracing::denoise::bilateral_main(), eevee::dof::Accumulator::dof_slight_focus_gather(), hammersley_2d(), hammersley_2d< float >(), hammersley_2d< int >(), hammersley_2d< uint >(), eevee::lut::integrate(), eevee::lightprobe::sphere::mip_convolve(), eevee::shadow_eval(), and eevee::raytracing::denoise::spatial_main().
| template float2 random::hammersley_2d< float > | ( | float | i, |
| float | sample_count ) |
References hammersley_2d().
| template float2 random::hammersley_2d< int > | ( | int | i, |
| int | sample_count ) |
References hammersley_2d().
| template float2 random::hammersley_2d< uint > | ( | uint | i, |
| uint | sample_count ) |
References hammersley_2d().
Seeded 1D interleaved gradient noise [jorg2014], with seeding found by Epic Games.
Definition at line 131 of file eevee_sampling_lib.bsl.hh.
References random::detail::interleaved_gradient(), and interleaved_gradient().
Referenced by eevee::subsurface::convolve_main(), eevee::debug::surfels::debug_random_color(), eevee::ShadowDebug::debug_random_color(), eevee::dof::Accumulator::dof_gather_accumulator(), eevee::dof::Accumulator::dof_slight_focus_gather(), eevee::motion_blur::gather::gather_comp(), interleaved_gradient(), interleaved_gradient_2d(), interleaved_gradient_3d(), eevee::LightprobeRenderData::load(), raycast_eval(), eevee::shadow::usage::tag_usage_volume(), eevee::raytrace::planar::trace(), eevee::raytrace::screen::trace(), and volume_froxel_jitter().
Seeded 2D interleaved gradient noise [jorg2014].
Definition at line 138 of file eevee_sampling_lib.bsl.hh.
References interleaved_gradient(), interleaved_gradient_2d(), float2::x, and float2::y.
Referenced by eevee::raytracing::denoise::bilateral_main(), interleaved_gradient_2d(), and eevee::film::Film::panoramic_sample_get().
Seeded 3D interleaved gradient noise [jorg2014].
Definition at line 145 of file eevee_sampling_lib.bsl.hh.
References interleaved_gradient(), interleaved_gradient_3d(), float3::x, float3::y, and float3::z.
Referenced by gbuffer::closure_dither_noise(), and interleaved_gradient_3d().
1D PCG hash on arbitrary floats [jarz2020].
Definition at line 153 of file eevee_sampling_lib.bsl.hh.
References floatBitsToUint, random::detail::pcg(), pcg(), and random::detail::pcg_rcp.
Referenced by eevee::hashed_transparency::alpha_threshold(), pcg(), pcg(), and pcg().
1D PCG nested variant on 2D input [jarz2020].
Definition at line 159 of file eevee_sampling_lib.bsl.hh.
References floatBitsToUint, random::detail::pcg(), pcg(), random::detail::pcg_rcp, uint2::x, and uint2::y.
1D PCG nested variant on 3D input [jarz2020].
Definition at line 166 of file eevee_sampling_lib.bsl.hh.
References floatBitsToUint, random::detail::pcg(), pcg(), random::detail::pcg_rcp, uint3::x, uint3::y, and uint3::z.
3D PCG variant detailed in [jarz2020].
Definition at line 173 of file eevee_sampling_lib.bsl.hh.
References floatBitsToUint, pcg_3d(), random::detail::pcg_rcp, uint3::x, uint3::y, and uint3::z.
Referenced by pcg_3d().
4D PCG variant detailed in [jarz2020].
Definition at line 193 of file eevee_sampling_lib.bsl.hh.
References floatBitsToUint, pcg_4d(), random::detail::pcg_rcp, uint4::w, uint4::x, uint4::y, and uint4::z.
Referenced by eevee::amend_frag(), pcg_4d(), and eevee::surf_shadow().