Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

light_probe.wgsl

Import path

Structures

LightProbeQueryResult

#

The result of searching for a light probe.

struct LightProbeQueryResult {
texture_index: i32 ,
intensity: f32 ,
light_from_world: mat4x4<f32> ,
}

Functions

transpose_affine_matrix

#
fn transpose_affine_matrix ( ) -> mat4x4<f32>

query_light_probe

#
fn query_light_probe (
world_position: vec3<f32>
is_irradiance_volume: bool
) -> LightProbeQueryResult