Shader Explorer
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.

wind.wgsl

Import path

Structures

Wind

#
struct Wind {
direction: vec2<f32> ,
strength: f32 ,
noise_scale: f32 ,
scroll_speed: f32 ,
micro_strength: f32 ,
s_curve_speed: f32 ,
s_curve_strength: f32 ,
s_curve_frequency: f32 ,
bop_speed: f32 ,
bop_strength: f32 ,
twist_strength: f32 ,
edge_correction_factor: f32 ,
sss_scale: f32 ,
sss_intensity: f32 ,
aabb_min: vec3<f32> ,
aabb_max: vec3<f32> ,
debug_color: vec4<f32> ,
}

WindMaterialUniform

#
struct WindMaterialUniform {
wind: Wind ,
}

BindlessWindIndices

#
struct BindlessWindIndices {
material: u32 ,
noise_texture: u32 ,
noise_texture_sampler: u32 ,
}