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.17.2
0.15.0
0.15.1
0.15.2
0.15.3
0.15.4
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.19.1
›
forward_decal.wgsl
Copy import path
Save
Bindings
inv_depth_fade_factor
#
Copy import statement
@
group
(
#{MATERIAL_BIND_GROUP}
)
@
binding
(
200
)
var
<
uniform
>
inv_depth_fade_factor:
f32
Structures
ForwardDecalInformation
#
Copy import statement
struct
ForwardDecalInformation
{
world_position:
vec4
<
f32
>,
uv:
vec2
<
f32
>,
alpha:
f32
,
}
Functions
get_forward_decal_info
#
Copy import statement
Used by 1 shader in bevy_pbr 0.17.2
bevy_pbr 0.17.2 — pbr.wgsl
fn
get_forward_decal_info
(
in:
VertexOutput
)
->
ForwardDecalInformation
Contents
Bindings
inv_depth_fade_factor
Structures
ForwardDecalInformation
Functions
get_forward_decal_info