dt-rush / sameriver

game engine written in go
Other
1 stars 1 forks source link

water #74

Open dt-rush opened 1 year ago

dt-rush commented 1 year ago

gerstner waves:

https://medium.com/dotcrossdot/water-ocean-shader-9173e0977f98

dt-rush commented 1 year ago

https://en.wikipedia.org/wiki/Trochoidal_wave#In_computer_graphics

dt-rush commented 1 year ago

https://www.desmos.com/calculator/sbb01nbfi5

dt-rush commented 1 year ago

voronoi shores

https://www.reddit.com/r/gamedev/comments/gmlefb/a_method_for_rendering_shore_waves/

blog post:

https://jobtalle.com/simulating_hydraulic_erosion.html

source:

https://github.com/jobtalle/HydraulicErosion

voronoi algorithm:

https://www.rykap.com/graphics/skew/2016/02/25/voronoi-diagrams/

supplemental explanation by another user on reddit:

https://www.reddit.com/r/gamedev/comments/gmlefb/comment/fr775hj/?utm_source=share&utm_medium=web2x&context=3

dt-rush commented 1 year ago

FFT:

https://youtube.com/watch?v=kGEqaX4Y4bQ&feature=shares