Working on some shaders in Unity these days. Here's one. Same shader, just different bitmaps & vertex colors. Result, and the things that go into it. Red vertex color is for the foam, green for the water surface, blue for the muddy edges (black vc shows the rocks). Vertex alpha for alpha blending. Distortion texture is…