mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
4043a10fbc17d4a8d85c128b77a4fa927b7ae007
375: Add water example. r=kvark,cwfitzgerald a=OptimisticPeach Solves #329, water example requested by @kvark. I tuned it to my personal preference of visuals, however it might be different for you. Note: I used https://github.com/ashima/webgl-noise for 3D open simplex noise. I've commented to explain what most of the things in the rust side of the example mean. However, I'm not 100% sure I did the best job at giving a brief overview, and wouldn't mind someone making sure my terminology/definitions are correct. Thanks! Patrik Co-authored-by: OptimisticPeach <patrikbuhring@yahoo.com>
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%