|
Blender V5.3
|
#include <eevee_lightprobe.bsl.hh>
Public Member Functions | |
| LightProbeSample | load (float2 screen_texel, float3 P, float3 Ng, float3 V) const |
| float3 | eval_direction (LightProbeSample samp, float3 P, float3 L, float perceptual_roughness) const |
| float3 | eval (const UtilityTexture &util_tx, LightProbeSample samp, ClosureSubsurface cl, float3, float3, Thickness thickness) const |
| float3 | eval (LightProbeSample samp, ClosureUndetermined cl, float3 P, float3 V, Thickness thickness) const |
Public Attributes | |
| LightprobeSphereRenderData | spheres |
| LightprobeVolumeRenderData | volumes |
| Sampling | sampling |
Definition at line 18 of file eevee_lightprobe.bsl.hh.
|
inline |
Definition at line 51 of file eevee_lightprobe.bsl.hh.
References SphericalHarmonicL1< T >::evaluate_lambert(), subsurface_transmission(), and eevee::LightProbeSample::volume_irradiance.
Referenced by eevee::forward_lighting_eval().
|
inline |
Definition at line 64 of file eevee_lightprobe.bsl.hh.
References bxdf_lightprobe_ray(), LightProbeRay::dominant_direction, SphericalHarmonicL1< T >::evaluate_lambert(), mix, P, LightProbeRay::perceptual_roughness, eevee::lightprobe::sphere::roughness_to_lod(), eevee::lightprobe::sphere::roughness_to_mix_fac(), spheres, eevee::LightprobeSphereRenderData::spherical_sample_normalized_with_parallax(), V, and eevee::LightProbeSample::volume_irradiance.
|
inline |
Definition at line 38 of file eevee_lightprobe.bsl.hh.
References L, min, P, eevee::lightprobe::sphere::roughness_to_lod(), spheres, and eevee::LightprobeSphereRenderData::spherical_sample_normalized_with_parallax().
|
inline |
Return cached light-probe data at P. Ng and V are use for biases.
Definition at line 27 of file eevee_lightprobe.bsl.hh.
References fract(), random::interleaved_gradient(), noise(), P, eevee::Sampling::rng_1D_get(), eevee::LightprobeVolumeRenderData::sample_probe(), sampling, eevee::LightprobeSphereRenderData::select_probe(), spheres, V, and volumes.
Referenced by closure_to_rgba_forward(), closure_to_rgba_hybrid(), and eevee::forward_lighting_eval().
| Sampling eevee::LightprobeRenderData::sampling |
Definition at line 21 of file eevee_lightprobe.bsl.hh.
Referenced by load().
| LightprobeSphereRenderData eevee::LightprobeRenderData::spheres |
Definition at line 19 of file eevee_lightprobe.bsl.hh.
Referenced by closure_to_rgba_forward(), closure_to_rgba_hybrid(), eval(), eval_direction(), and load().
| LightprobeVolumeRenderData eevee::LightprobeRenderData::volumes |
Definition at line 20 of file eevee_lightprobe.bsl.hh.
Referenced by load().