1#version 140 2in vec4 bigColor; 3in vec4 bigColor1_1; 4in vec4 bigColor1_2; 5in vec4 bigColor1_3; 6in vec4 bigColor2; 7in vec4 bigColor3; 8in vec4 bigColor4; 9in vec4 bigColor5; 10in vec4 bigColor6; 11in vec4 bigColor7; 12in vec4 bigColor8; 13 14in vec4 BaseColor; 15 16in float d; 17in float d2; 18in float d3; 19in float d4; 20in float d13; 21 22flat in int Count; 23 24void main() 25{ 26 vec4 color = BaseColor; 27 28 // Latchy2 29 do { 30 color += bigColor4; 31 if (color.x < d4) { 32 color.z += 2.0; 33 if (color.z < d4) { 34 color.x++; 35 continue; 36 } 37 } 38 if (color.y < d4) 39 color.y += d4; 40 else 41 color.x += d4; 42 } while (color.z < d4); 43 44 // Immediate dominator 45 while (color.w < d13) { 46 if (color.z < d13) 47 color++; 48 else 49 color--; 50 // code from Latchy 2 51 color += bigColor4; 52 if (color.x < d4) { 53 color.z += 2.0; 54 if (color.z < d4) { 55 color.x++; 56 continue; 57 } 58 } 59 if (color.y < d4) 60 color.y += d4; 61 else 62 color.x += d4; 63 } 64 65 color++; 66 gl_FragColor = color; 67} 68