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_anti_alias
0.20.0
0.17.0
0.17.1
0.17.2
0.17.3
0.18.0
0.18.1
0.19.0
0.19.1
›
robust_contrast_adaptive_sharpening.wesl
Save
Constants
FSR_RCAS_LIMIT
#
const
FSR_RCAS_LIMIT:
AbstractFloat
=
0.1875
peakC
#
const
peakC:
vec2
<
f32
>
=
vec2<f32>(10.0, -40.0)
Bindings
screenTexture
#
@
group
(
0
)
@
binding
(
0
)
var
screenTexture:
texture_2d
<
f32
>
samp
#
@
group
(
0
)
@
binding
(
1
)
var
samp:
sampler
uniforms
#
@
group
(
0
)
@
binding
(
2
)
var
<
uniform
>
uniforms:
CASUniforms
Structures
CASUniforms
#
struct
CASUniforms
{
sharpness:
f32
,
}
Functions
fragment
#
@fragment
Calculates the final color of each pixel on the screen
fn
fragment
(
in:
FullscreenVertexOutput
)
->
@
location
(
0
)
vec4
<
f32
>
Contents
Constants
FSR_RCAS_LIMIT
peakC
Bindings
screenTexture
samp
uniforms
Structures
CASUniforms
Functions
fragment