Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

vignette.wgsl

Import path

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

#
fn vignette ( ) -> vec3<f32>