Creating wave shader in UE5?

Been struggling to create wave/ocean shader which will produce foam when they are near the shore, is there any tutorial or a guide i can follow ?