water_material.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
globals
#
![]() |
0 | 1 | <uniform> | Globals |
water_normals_texture
#
![]() |
2 | 100 | texture_2d<f32> | |
water_normals_sampler
#
![]() |
2 | 101 |
sampler
![]() |
|
water_settings
#
![]() |
2 | 102 | <uniform> | WaterSettings |
Name | Type |
---|---|
octave_vectors |
array<vec4<f32>, 2>
![]() |
octave_scales |
vec4<f32>
![]() |
octave_strengths |
vec4<f32>
![]() |
Parameter | Type |
---|---|
uv |
vec2<f32>
![]() |
strength |
f32
![]() |