Loading...
「ツール」は右上に移動しました。
519いいね 14051回再生

I Made Ocean Waves and Buoyancy in Godot

Been playing Sea of Thieves a lot recently and really wanted to make some water physics, so I implemented some Gerstner/Trochoidal waves in Godot with a vertex shader and then simulated buoyancy in GDscript.
Consider supporting the channel: www.patreon.com/xen42

Here's some of the resources I consulted while doing this.
wikipedia lol
developer.nvidia.com/gpugems/gpugems/part-i-natura…
catlikecoding.com/unity/tutorials/flow/waves/

Here's my messy code if you wanna look at it:
github.com/xen-42/godot-waves-buoyancy

=========================================

Credits for the sound effects used in the video:
Beach Waves 04.wav freesound.org/people/Suburbanwizard/sounds/463250/
Car - seatbelt warning.wav freesound.org/people/soundmary/sounds/128191/
inception-sound-2.wav freesound.org/people/mikobuntu/sounds/255164/

Music credits (in order):

Monkeys Spinning Monkeys by Kevin MacLeod
Link: incompetech.filmmusic.io/song/4071-monkeys-spinnin…
License: filmmusic.io/standard-license

Wholesome by Kevin MacLeod
Link: incompetech.filmmusic.io/song/5050-wholesome
License: filmmusic.io/standard-license

Fluffing a Duck by Kevin MacLeod
Link: incompetech.filmmusic.io/song/3766-fluffing-a-duck
License: filmmusic.io/standard-license

コメント