Bevy Shader Explorer
Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.
☾
Packages
›
bevy_pbr
0.15.3
0.15.0
0.15.1
0.15.2
0.19.1
›
light_probe.wgsl
Copy import path
Save
Structures
LightProbeQueryResult
#
Copy import statement
The result of searching for a light probe.
struct
LightProbeQueryResult
{
texture_index:
i32
,
intensity:
f32
,
light_from_world:
mat4x4
<
f32
>,
}
Functions
transpose_affine_matrix
#
Copy import statement
fn
transpose_affine_matrix
(
matrix:
mat3x4
<
f32
>
)
->
mat4x4
<
f32
>
query_light_probe
#
Copy import statement
Used by 2 shaders in bevy_pbr 0.15.3
bevy_pbr 0.15.3 — environment_map.wgsl
bevy_pbr 0.15.3 — irradiance_volume.wgsl
fn
query_light_probe
(
world_position:
vec3
<
f32
>,
is_irradiance_volume:
bool
)
->
LightProbeQueryResult
Contents
Structures
LightProbeQueryResult
Functions
transpose_affine_matrix
query_light_probe
The result of searching for a light probe.