Added stuff and things...
[NgWiz.git] / game / data / gl / 2d_fragment.js
index 67d7ad7..23ff252 100644 (file)
@@ -1,15 +1,16 @@
 precision highp float;
  
-// our texture
-uniform sampler2D u_image; 
-// the texCoords passed in from the vertex shader.
-varying vec2 v_texCoord;
+// The texture
+uniform sampler2D u_image;
 
-//Color
+// texCoords passed in from the vertex shader.
+varying vec2 v_texCoord;
 
 void main() {
    // Look up a color from the texture.
    vec4 col = texture2D(u_image, v_texCoord);
+   
+   //Colorkey out 00FFFF
    if( col.rgb == vec3( 0.0, 1.0, 1.0 ) )
    discard;