|
Blender V5.3
|
#include <eevee_lightprobe_sphere.bsl.hh>
Public Member Functions | |
| int | select_probe (float3 P, float random_probe) const |
| float4 | sample_probe (float3 L, float lod, SphereProbeUvArea uv_area) const |
| float3 | spherical_sample_normalized_with_parallax (LightProbeSample samp, float3 P, float3 L, float lod) const |
Public Attributes | |
| SphereProbeData(& | lightprobe_sphere_buf )[SPHERE_PROBE_MAX] |
| sampler2DArray | lightprobe_spheres_tx |
Definition at line 196 of file eevee_lightprobe_sphere.bsl.hh.
|
inline |
Definition at line 224 of file eevee_lightprobe_sphere.bsl.hh.
References ceil, eevee::lightprobe::sphere::direction_to_uv(), floor, L, lightprobe_spheres_tx, mix, and textureLod().
Referenced by eevee::lightprobe::volume::RayCapture::irradiance_capture_world(), eevee::surfel::SurfelRay::radiance_transfer_world(), and spherical_sample_normalized_with_parallax().
Definition at line 200 of file eevee_lightprobe_sphere.bsl.hh.
References abs, index, length(), lightprobe_sphere_buf, max, P, saturate, float3::x, float3::y, and float3::z.
Referenced by eevee::LightprobeRenderData::load().
|
inline |
Return spherical sample normalized by irradiance at sample position. This avoid most of light leaking and reduce the need for many local probes.
Definition at line 244 of file eevee_lightprobe_sphere.bsl.hh.
References eevee::lightprobe::sphere::extract_low_freq_lighting(), L, lightprobe_sphere_buf, eevee::lightprobe::sphere::normalization_factor(), P, eevee::lightprobe::sphere::parallax_eval(), sample_probe(), eevee::LightProbeSample::spherical_id, and eevee::LightProbeSample::volume_irradiance.
Referenced by closure_to_rgba_forward(), closure_to_rgba_hybrid(), eevee::LightprobeRenderData::eval(), and eevee::LightprobeRenderData::eval_direction().
| SphereProbeData(& eevee::LightprobeSphereRenderData::lightprobe_sphere_buf)[SPHERE_PROBE_MAX] |
Definition at line 197 of file eevee_lightprobe_sphere.bsl.hh.
Referenced by select_probe(), and spherical_sample_normalized_with_parallax().
| sampler2DArray eevee::LightprobeSphereRenderData::lightprobe_spheres_tx |
Definition at line 198 of file eevee_lightprobe_sphere.bsl.hh.
Referenced by sample_probe().