Builtin Library
- ..
- README.md391 B
- bindings.yaml845 B
- shader.wgsl3.3 KB
README.md
ocean_assemble
Unpacks one cascade's two transformed fields into the (dx, height, dz)
displacement field the surface mesh reads, applying the (-1)^(x+z) sign
alternation that undoes the centred-on-zero wave-vector grid the spectrum was
built on. Height and horizontal displacement carry independent gains, so crest
pinching (choppiness) can be dialled without changing wave height.