uniform half4 colorGreen;uniform half4 colorRed;bool a(bool c,float d,float e,float f,float g){float h=float(colorGreen.x+1.);vec4 i=float4(d,e,f,g);vec4 j=float4(d*h,e*h,f*h,g*h);return c?i==j:i!=j;}bool b(bool c,float d,float e,float f,float g){float h=float(colorGreen.x+2.);vec4 i=float4(d,e,f,g);vec4 j=float4(d*h,e*h,f*h,g*h);return c?i==j:i!=j;}vec4 main(vec2 c){float d=float(colorGreen.x/colorGreen.z);float e=float(colorGreen.z/colorGreen.x);float f=float(colorGreen.x*colorGreen.z);float g=float(-colorGreen.x*colorGreen.z);float h=float(colorGreen.y*42.);float i=float(colorGreen.y*43.);float j=float(colorGreen.y*44.);float k=float(colorGreen.y*45.);bool l=true;bool m=false;return vec4(((((((a(l,h,g,f,i)&&!a(m,h,g,f,i))&&a(m,h,d,e,i))&&!a(l,h,d,e,i))&&b(m,h,i,j,k))&&!b(l,h,i,j,k))&&b(m,d,g,f,h))&&!b(l,d,g,f,h)?colorGreen:colorRed);} |