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
›
optical_flow.wgsl
Copy import path
Save
Functions
calculate_motion_vector
#
Copy import statement
Used by 1 shader in bevy_gaussian_splatting 6.0.0
bevy_gaussian_splatting 6.0.0 — gaussian.wgsl
fn
calculate_motion_vector
(
world_position:
vec3
<
f32
>,
previous_world_position:
vec3
<
f32
>
)
->
vec2
<
f32
>
optical_flow_to_rgb
#
Copy import statement
Used by 1 shader in bevy_gaussian_splatting 6.0.0
bevy_gaussian_splatting 6.0.0 — gaussian.wgsl
fn
optical_flow_to_rgb
(
motion_vector:
vec2
<
f32
>
)
->
vec3
<
f32
>
Contents
Functions
calculate_motion_vector
optical_flow_to_rgb