How to create ocean shoreline ?

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