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.

water_functions.wgsl

Import path

Bindings

globals

#

Shader defs requirments:

🟢 PREPASS_PIPELINE

@group(0)
@binding(1)
var<uniform> globals: Globals

Functions

wave

#
fn wave ( ) -> f32

get_wave_height

#
fn get_wave_height ( ) -> f32

uv_to_coord

#
fn uv_to_coord ( ) -> vec2<f32>