Blender V5.3
eevee::LightprobePlaneRenderData Struct Reference

#include <eevee_lightprobe_plane.bsl.hh>

Public Member Functions

int select_probe (float3 P, float3 N) const

Public Attributes

PlanarProbeData(& probe_planar_buf )[PLANAR_PROBE_MAX]
sampler2DArray planar_radiance_tx
sampler2DArrayDepth planar_depth_tx

Detailed Description

Definition at line 26 of file eevee_lightprobe_plane.bsl.hh.

Member Function Documentation

◆ select_probe()

int eevee::LightprobePlaneRenderData::select_probe ( float3 P,
float3 N ) const
inline

Return the best planar probe index for a given light direction vector and position.

Definition at line 34 of file eevee_lightprobe_plane.bsl.hh.

References index, N, P, and probe_planar_buf.

Referenced by eevee::forward_lighting_eval().

Member Data Documentation

◆ planar_depth_tx

sampler2DArrayDepth eevee::LightprobePlaneRenderData::planar_depth_tx

Definition at line 29 of file eevee_lightprobe_plane.bsl.hh.

Referenced by eevee::forward_lighting_eval().

◆ planar_radiance_tx

sampler2DArray eevee::LightprobePlaneRenderData::planar_radiance_tx

Definition at line 28 of file eevee_lightprobe_plane.bsl.hh.

Referenced by eevee::forward_lighting_eval().

◆ probe_planar_buf

PlanarProbeData(& eevee::LightprobePlaneRenderData::probe_planar_buf)[PLANAR_PROBE_MAX]

Definition at line 27 of file eevee_lightprobe_plane.bsl.hh.

Referenced by eevee::forward_lighting_eval(), and select_probe().


The documentation for this struct was generated from the following file: