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_post_process
0.19.1
0.17.0
0.17.1
0.17.2
0.17.3
0.18.0
0.18.1
0.19.0
›
gaussian_blur.wgsl
Copy import path
Save
Functions
gaussian_blur
#
Copy import statement
Used by 1 shader in bevy_post_process 0.19.1
bevy_post_process 0.19.1 — dof.wgsl
Returns the resulting color of the fragment.
fn
gaussian_blur
(
color_texture:
texture_2d
<
f32
>,
color_texture_sampler:
sampler
,
frag_coord:
vec4
<
f32
>,
coc:
f32
,
frag_offset:
vec2
<
f32
>
)
->
vec4
<
f32
>
Contents
Functions
gaussian_blur
Returns the resulting color of the fragment.