3
TEMP old,midFlow,flow1,flow2,flow3,flow4,flow,backgroundWave;
5
TEX old, fragment.texcoord[0], texture[0], 2D;
6
TEX midFlow, fragment.texcoord[1], texture[1], 2D;
7
TEX flow1, fragment.texcoord[2], texture[2], 2D;
8
TEX flow2, fragment.texcoord[3], texture[3], 2D;
9
TEX flow3, fragment.texcoord[4], texture[4], 2D;
10
TEX flow4, fragment.texcoord[5], texture[5], 2D;
11
TEX backgroundWave, fragment.texcoord[6], texture[6], 2D;
13
SUB old.x, old.x, old.z;
15
DP4 temp.x, midFlow,{1,1,1,1};
16
SUB old.x, old.x, temp.x;
23
DP4 temp.x, flow,{1,1,1,1};
24
ADD old.x, old.x, temp.x;
26
SUB temp, midFlow, flow;
27
DP4 temp.x, temp, temp;
29
MAD old.y, temp.x, 0.2, old.y;
30
MUL_SAT old.y, old.y, 0.99;
33
MUL_SAT temp.x, temp.x, 0.2;
35
LRP old.x, 0.995, old.x, backgroundWave.z;
36
LRP old.x, temp.x, -old.w, old.x;
38
MUL result.color, old, {1,1,0,0};
b'\\ No newline at end of file'