out vec4 sk_FragColor; | |
uniform vec4 colorGreen; | |
vec4 main() { | |
int zero = int(colorGreen.x); | |
int one = int(colorGreen.y); | |
for (int x = zero;x < 100; ++x) { | |
for (int y = one;y < 100; ++y) { | |
int _0_x = x; | |
int _1_result = 0; | |
while (_0_x >= y) { | |
++_1_result; | |
_0_x -= y; | |
} | |
if (x / y != _1_result) { | |
return vec4(1.0, float(x) / 255.0, float(y) / 255.0, 1.0); | |
} | |
} | |
} | |
return colorGreen; | |
} |