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_gaussian_splatting
6.0.0
3.0.0
5.1.0
›
spherindrical_harmonics.wgsl
Copy import path
Save
Constants
PI
#
Copy import statement
const
PI:
AbstractFloat
=
radians(180.0)
Functions
spherindrical_harmonics_lookup
#
Copy import statement
Used by 1 shader in bevy_gaussian_splatting 6.0.0
bevy_gaussian_splatting 6.0.0 — planar.wgsl
fn
spherindrical_harmonics_lookup
(
ray_direction:
vec3
<
f32
>,
dir_t:
f32
,
sh:
array
<
f32
, #{SH_4D_COEFF_COUNT}>
)
->
vec3
<
f32
>
Contents
Constants
PI
Functions
spherindrical_harmonics_lookup