|
Blender V5.3
|
Classes | |
| struct | BandL0 |
| struct | BandL1 |
| struct | BandL2 |
| struct | BandL3 |
| SphericalHarmonicL1< float4 > spherical_harmonics::add | ( | SphericalHarmonicL1< float4 > | a, |
| SphericalHarmonicL1< float4 > | b ) |
Definition at line 494 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References add(), spherical_harmonics::BandL0< T >::add(), spherical_harmonics::BandL1< T >::add(), b, SphericalHarmonicL1< T >::L0, and SphericalHarmonicL1< T >::L1.
Referenced by add(), eevee::lightprobe::sphere::irradiance_sum(), and eevee::lightprobe::volume::load_grid().
| SphericalHarmonicL1< float4 > spherical_harmonics::clamp_energy | ( | SphericalHarmonicL1< float4 > | sh, |
| float | clamp_value ) |
Definition at line 617 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References abs, clamp_energy(), clamp_value(), SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, length(), mul(), reduce_max(), safe_rcp(), and transpose.
Referenced by clamp_energy(), eevee::lightprobe::sphere::cull(), eevee::forward_lighting_eval(), eevee::deferred::light_eval_frag(), eevee::fast_gi::resolve(), eevee::raytrace::fallback::trace(), eevee::raytrace::screen::trace(), and eevee::volume::Scatter::volume_lightprobe_eval().
| SphericalHarmonicL1< float4 > spherical_harmonics::compress | ( | SphericalHarmonicL1< float4 > | sh | ) |
Definition at line 550 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References compress(), SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, M_SQRT3, and safe_rcp().
Referenced by compress(), and eevee::fast_gi::SampleOutput::write().
| SphericalHarmonicL1< float4 > spherical_harmonics::decompress | ( | SphericalHarmonicL1< float4 > | sh | ) |
Definition at line 561 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References decompress(), SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, and M_SQRT3.
Referenced by decompress(), and eevee::fast_gi::SampleInput::load_sh().
| SphericalHarmonicL1< float4 > spherical_harmonics::dering | ( | SphericalHarmonicL1< float4 > | sh | ) |
Definition at line 580 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References abs, dering(), SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, length(), max, spherical_harmonics::BandL1< T >::mul(), reduce_min(), and transpose.
Referenced by dering(), eevee::lightprobe::volume::load_grid(), and eevee::lightprobe::volume::load_world().
| float4 spherical_harmonics::dot | ( | SphericalHarmonicL1< float4 > | a, |
| SphericalHarmonicL1< float4 > | b ) |
Definition at line 529 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References b, dot(), dot(), SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, and transpose.
Referenced by dot(), and eevee::volume::Scatter::volume_lightprobe_eval().
Definition at line 28 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L0_M0_coef().
Referenced by spherical_harmonics::BandL0< T >::encode_signal_sample(), spherical_harmonics::BandL0< T >::evaluate(), L0_M0_coef(), triple_product(), and volume_phase_function_as_sh_L1().
Definition at line 37 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L1_M0_coef().
Referenced by spherical_harmonics::BandL1< T >::encode_signal_sample(), spherical_harmonics::BandL1< T >::evaluate(), L1_M0_coef(), and volume_phase_function_as_sh_L1().
Definition at line 33 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L1_Mn1_coef().
Referenced by spherical_harmonics::BandL1< T >::encode_signal_sample(), spherical_harmonics::BandL1< T >::evaluate(), L1_Mn1_coef(), and volume_phase_function_as_sh_L1().
Definition at line 41 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L1_Mp1_coef().
Referenced by spherical_harmonics::BandL1< T >::encode_signal_sample(), spherical_harmonics::BandL1< T >::evaluate(), L1_Mp1_coef(), and volume_phase_function_as_sh_L1().
Definition at line 54 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L2_M0_coef().
Referenced by spherical_harmonics::BandL2< T >::encode_signal_sample(), spherical_harmonics::BandL2< T >::evaluate(), and L2_M0_coef().
Definition at line 50 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L2_Mn1_coef().
Referenced by spherical_harmonics::BandL2< T >::encode_signal_sample(), spherical_harmonics::BandL2< T >::evaluate(), and L2_Mn1_coef().
Definition at line 46 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L2_Mn2_coef().
Referenced by spherical_harmonics::BandL2< T >::encode_signal_sample(), spherical_harmonics::BandL2< T >::evaluate(), and L2_Mn2_coef().
Definition at line 58 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L2_Mp1_coef().
Referenced by spherical_harmonics::BandL2< T >::encode_signal_sample(), spherical_harmonics::BandL2< T >::evaluate(), and L2_Mp1_coef().
Definition at line 62 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L2_Mp2_coef().
Referenced by spherical_harmonics::BandL2< T >::encode_signal_sample(), spherical_harmonics::BandL2< T >::evaluate(), and L2_Mp2_coef().
Definition at line 79 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L3_M0_coef().
Referenced by spherical_harmonics::BandL3< T >::encode_signal_sample(), spherical_harmonics::BandL3< T >::evaluate(), and L3_M0_coef().
Definition at line 75 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L3_Mn1_coef().
Referenced by spherical_harmonics::BandL3< T >::encode_signal_sample(), spherical_harmonics::BandL3< T >::evaluate(), and L3_Mn1_coef().
Definition at line 71 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L3_Mn2_coef().
Referenced by spherical_harmonics::BandL3< T >::encode_signal_sample(), spherical_harmonics::BandL3< T >::evaluate(), and L3_Mn2_coef().
Definition at line 67 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L3_Mn3_coef().
Referenced by spherical_harmonics::BandL3< T >::encode_signal_sample(), spherical_harmonics::BandL3< T >::evaluate(), and L3_Mn3_coef().
Definition at line 83 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L3_Mp1_coef().
Referenced by spherical_harmonics::BandL3< T >::encode_signal_sample(), spherical_harmonics::BandL3< T >::evaluate(), and L3_Mp1_coef().
Definition at line 87 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L3_Mp2_coef().
Referenced by spherical_harmonics::BandL3< T >::encode_signal_sample(), spherical_harmonics::BandL3< T >::evaluate(), and L3_Mp2_coef().
Definition at line 91 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References L3_Mp3_coef().
Referenced by spherical_harmonics::BandL3< T >::encode_signal_sample(), spherical_harmonics::BandL3< T >::evaluate(), and L3_Mp3_coef().
| SphericalHarmonicL1< float4 > spherical_harmonics::madd | ( | SphericalHarmonicL1< float4 > | a, |
| float | b, | ||
| SphericalHarmonicL1< float4 > | c ) |
Definition at line 468 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References b, SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, spherical_harmonics::BandL0< T >::madd(), spherical_harmonics::BandL1< T >::madd(), and madd().
Referenced by eevee::fast_gi::denoise(), eevee::fast_gi::eval(), eevee::lightprobe::volume::load_grid(), madd(), and eevee::fast_gi::resolve().
| SphericalHarmonicL1< float4 > spherical_harmonics::mul | ( | SphericalHarmonicL1< float4 > | a, |
| float | b ) |
Definition at line 478 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References b, SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, mul(), spherical_harmonics::BandL0< T >::mul_scalar(), and spherical_harmonics::BandL1< T >::mul_scalar().
Referenced by clamp_energy(), eevee::fast_gi::denoise(), eevee::fast_gi::eval(), eevee::lightprobe::volume::load_grid(), mul(), mul(), and eevee::fast_gi::resolve().
| SphericalHarmonicL1< float4 > spherical_harmonics::mul | ( | SphericalHarmonicL1< float4 > | a, |
| float4 | b ) |
Definition at line 486 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References b, SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, spherical_harmonics::BandL0< T >::mul(), spherical_harmonics::BandL1< T >::mul(), and mul().
| void spherical_harmonics::pack | ( | SphericalHarmonicL1< float4 > | sh, |
| float4 & | L0_L1_a, | ||
| float4 & | L0_L1_b, | ||
| float4 & | L0_L1_c, | ||
| float4 & | L0_L1_vis ) |
Definition at line 421 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, pack(), and float4::w.
Referenced by pack().
| SphericalHarmonicL1< float4 > spherical_harmonics::rotate | ( | float3x3 | rotation, |
| SphericalHarmonicL1< float4 > | sh ) |
Definition at line 502 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References SphericalHarmonicL1< T >::L1, rotate(), and transpose.
Referenced by eevee::lookdev::copy_world_main(), eevee::lightprobe::volume::load_grid(), eevee::fast_gi::resolve(), and rotate().
| SphericalHarmonicL1< float4 > spherical_harmonics::triple_product | ( | SphericalHarmonicL1< float4 > | a, |
| SphericalHarmonicL1< float4 > | b ) |
Definition at line 442 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References b, SphericalHarmonicL1< T >::L0, L0_M0_coef(), SphericalHarmonicL1< T >::L1, and triple_product().
Referenced by eevee::lightprobe::volume::load_grid(), and triple_product().
| SphericalHarmonicL1< float4 > spherical_harmonics::unpack | ( | float4 | L0_L1_a, |
| float4 | L0_L1_b, | ||
| float4 | L0_L1_c, | ||
| float4 | L0_L1_vis ) |
Definition at line 404 of file gpu_shader_math_spherical_harmonics.bsl.hh.
References SphericalHarmonicL1< T >::L0, SphericalHarmonicL1< T >::L1, unpack(), float4::w, float4::x, float4::y, and float4::z.
Referenced by unpack().