How to create ocean shoreline ?

Hi ,

I was able to create ocean material using Grestner function , as you can see in the below picture.

][2]
But I want to create realistic shoreline and the wave turbulance when the ocean interacts with the beach. Kindly let me know how to achieve something like that. I was unable to find a proper tutorial.

Use lerp with depth fade. Here’s quick tutorial: UE4 Edge Foam Material Quick Tutorial - YouTube

I think depth only works with translucent materials. He seems to be using an opaque one.

No , I changed that to translucent. But it works nicely , I just have to figure it out what textures and modifications to be added instead of a constant param of red color , but the result is really amazing for now , and just what I wanted. Thanks a lot. Will try to implement further by referring to this pdf file -

http://graphics.ucsd.edu/courses/rendering/2005/jdewall/tessendorf.pdf

Then I guess you’ll have to manually paint your shoreline.

Unfortunately, there’s a huge disadvantage in using translucent for water shading atm — reflections. It works fine for small water planes but it’s horrible for big planes. I hope Epic will fix it soon.

Agreed TimGS, definitely need reflections AND translucency. Really hard to make water look convincing without both.

Looking a bit better now , but still the shoreline is not realistic.

I am looking for creating something like this

How to make waves move in a circular fashion and interact with shores and repulse away , as given in the video?