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.

Constants

VISUAL_THRESHOLD

#
const VISUAL_THRESHOLD: f32 = 1e-4

Bindings

vignette_settings

#
@group(0)
@binding(4)
var<uniform> vignette_settings: VignetteSettings

Structures

VignetteSettings

#

See bevy_post_process::effect_stack::Vignette for more information on these fields.

struct VignetteSettings {
intensity: f32,
radius: f32,
smoothness: f32,
roundness: f32,
center: vec2<f32>,
edge_compensation: f32,
unused: u32,
color: vec4<f32>,
}

Functions

vignette

#
Used by 1 shader in bevy_post_process 0.19.1
fn vignette (
uv: vec2<f32>,
color: vec3<f32>
) -> vec3<f32>
Contents