1#version 130 2uniform vec4 bigColor; 3uniform vec4 bigColor1_1; 4uniform vec4 bigColor1_2; 5uniform vec4 bigColor1_3; 6uniform vec4 bigColor2; 7uniform vec4 bigColor3; 8uniform vec4 bigColor4; 9uniform vec4 bigColor5; 10uniform vec4 bigColor6; 11uniform vec4 bigColor7; 12uniform vec4 bigColor8; 13 14varying vec4 BaseColor; 15 16uniform float d; 17uniform float d2; 18uniform float d3; 19uniform float d4; 20uniform float d5; 21uniform float d6; 22uniform float d7; 23uniform float d8; 24uniform float d9; 25uniform float d10; 26uniform float d11; 27uniform float d12; 28uniform float d13; 29uniform float d14; 30uniform float d15; 31uniform float d16; 32uniform float d17; 33uniform float d18; 34uniform float d19; 35uniform float d20; 36uniform float d21; 37uniform float d22; 38uniform float d23; 39uniform float d24; 40uniform float d25; 41uniform float d26; 42uniform float d27; 43uniform float d28; 44uniform float d29; 45uniform float d30; 46uniform float d31; 47uniform float d32; 48uniform float d33; 49uniform float d34; 50 51uniform int Count; 52 53void main() 54{ 55 vec4 color = BaseColor; 56 57 // Latchy2 58 do { 59 color += bigColor4; 60 if (color.x < d4) { 61 color.z += 2.0; 62 if (color.z < d4) { 63 color.x++; 64 continue; 65 } 66 } 67 if (color.y < d4) 68 color.y += d4; 69 else 70 color.x += d4; 71 } while (color.z < d4); 72 73 // Immediate dominator 74 while (color.w < d13) { 75 if (color.z < d13) 76 color++; 77 else 78 color--; 79 // code from Latchy 2 80 color += bigColor4; 81 if (color.x < d4) { 82 color.z += 2.0; 83 if (color.z < d4) { 84 color.x++; 85 continue; 86 } 87 } 88 if (color.y < d4) 89 color.y += d4; 90 else 91 color.x += d4; 92 } 93 94 color++; 95 gl_FragColor = color; 96} 97