Wave Generation Shader for a Plane Mesh in Godot 3.0

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By BlackJitsu

So I’m trying to make a shader that does something similar to this

But not really sure how to do it.
So far, I have exported the following plane mesh through blender.

Then I used the following code to get the full plane to just bob up and down

void vertex(){
VERTEX = vec3(VERTEX.x, sin(TIME)*.01, VERTEX.z);}

I found this in the Godot Docs, but it is clearly outdated. Can anyone help me out here?