--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" float inten = dot(texture2D(tex,tex_c.xy).agb,vec3(.3, .59, .11));\n"
+" gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).r) * col;\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ float inten = dot(texture2D(tex,tex_c.xy).agb,vec3(.3, .59, .11));
+ gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).r) * col;
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11));\n"
+" gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a) * col;\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11));
+ gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a) * col;
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11));\n"
+" gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a);\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec2 tex_c;
+void main()
+{
+ float inten = dot(texture2D(tex,tex_c.xy).rgb,vec3(.3, .59, .11));
+ gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).a);
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" float inten = dot(texture2D(tex,tex_c.xy).abg,vec3(.3, .59, .11));\n"
+" gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).r);\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec2 tex_c;
+void main()
+{
+ float inten = dot(texture2D(tex,tex_c.xy).abg,vec3(.3, .59, .11));
+ gl_FragColor = vec4(inten, inten, inten, texture2D(tex,tex_c.xy).r);
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" gl_FragColor = (vec4(0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy).bgra)*col;\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ gl_FragColor = (vec4(0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy).bgra)*col;
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" gl_FragColor = (vec4(1.0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy))*col;\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ gl_FragColor = (vec4(1.0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy))*col;
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" vec3 inv = vec3(1.0, 1.0, 1.0) - texture2D(tex,tex_c.xy).rgb;\n"
+" gl_FragColor = vec4(inv.r, inv.g, inv.b, 1.0);\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ vec3 inv = vec3(1.0, 1.0, 1.0) - texture2D(tex,tex_c.xy).rgb;
+ gl_FragColor = vec4(inv.r, inv.g, inv.b, 1.0);
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" gl_FragColor = (vec4(0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy).bgra)*col;\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ gl_FragColor = (vec4(0, 1.0, 1.0, 1.0) - texture2D(tex, tex_c.xy).bgra)*col;
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" vec3 inp = texture2D(tex,tex_c.xy).abg;\n"
+" vec4 sep;\n"
+" sep.r = dot(inp, vec3(.393, .769, .189));\n"
+" sep.g = dot(inp, vec3(.349, .686, .168));\n"
+" sep.b = dot(inp, vec3(.272, .534, .131));\n"
+" sep.a = texture2D(tex,tex_c.xy).r;\n"
+" gl_FragColor = sep * col;\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ vec3 inp = texture2D(tex,tex_c.xy).abg;
+ vec4 sep;
+ sep.r = dot(inp, vec3(.393, .769, .189));
+ sep.g = dot(inp, vec3(.349, .686, .168));
+ sep.b = dot(inp, vec3(.272, .534, .131));
+ sep.a = texture2D(tex,tex_c.xy).r;
+ gl_FragColor = sep * col;
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" vec3 inp = texture2D(tex,tex_c.xy).rgb;\n"
+" vec4 sep;\n"
+" sep.r = dot(inp, vec3(.393, .769, .189));\n"
+" sep.g = dot(inp, vec3(.349, .686, .168));\n"
+" sep.b = dot(inp, vec3(.272, .534, .131));\n"
+" sep.a = texture2D(tex,tex_c.xy).a;\n"
+" gl_FragColor = sep * col;\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ vec3 inp = texture2D(tex,tex_c.xy).rgb;
+ vec4 sep;
+ sep.r = dot(inp, vec3(.393, .769, .189));
+ sep.g = dot(inp, vec3(.349, .686, .168));
+ sep.b = dot(inp, vec3(.272, .534, .131));
+ sep.a = texture2D(tex,tex_c.xy).a;
+ gl_FragColor = sep * col;
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" vec3 inp = texture2D(tex,tex_c.xy).rgb;\n"
+" gl_FragColor.r = dot(inp, vec3(.393, .769, .189));\n"
+" gl_FragColor.g = dot(inp, vec3(.349, .686, .168));\n"
+" gl_FragColor.b = dot(inp, vec3(.272, .534, .131));\n"
+" gl_FragColor.a = texture2D(tex,tex_c.xy).a;\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ vec3 inp = texture2D(tex,tex_c.xy).rgb;
+ gl_FragColor.r = dot(inp, vec3(.393, .769, .189));
+ gl_FragColor.g = dot(inp, vec3(.349, .686, .168));
+ gl_FragColor.b = dot(inp, vec3(.272, .534, .131));
+ gl_FragColor.a = texture2D(tex,tex_c.xy).a;
+}
--- /dev/null
+"#ifdef GL_ES\n"
+"precision mediump float;\n"
+"#endif\n"
+"uniform sampler2D tex;\n"
+"varying vec4 col;\n"
+"varying vec2 tex_c;\n"
+"void main()\n"
+"{\n"
+" vec3 inp = texture2D(tex,tex_c.xy).abg;\n"
+" gl_FragColor.r = dot(inp, vec3(.393, .769, .189));\n"
+" gl_FragColor.g = dot(inp, vec3(.349, .686, .168));\n"
+" gl_FragColor.b = dot(inp, vec3(.272, .534, .131));\n"
+" gl_FragColor.a = texture2D(tex,tex_c.xy).r;\n"
+"}\n"
--- /dev/null
+#ifdef GL_ES
+precision mediump float;
+#endif
+uniform sampler2D tex;
+varying vec4 col;
+varying vec2 tex_c;
+void main()
+{
+ vec3 inp = texture2D(tex,tex_c.xy).abg;
+ gl_FragColor.r = dot(inp, vec3(.393, .769, .189));
+ gl_FragColor.g = dot(inp, vec3(.349, .686, .168));
+ gl_FragColor.b = dot(inp, vec3(.272, .534, .131));
+ gl_FragColor.a = texture2D(tex,tex_c.xy).r;
+}