uniform sampler2D _MainTex;
uniform vec4 _Color;
void main ()
{
  vec4 tmpvar_1[2];
  tmpvar_1[0] = gl_TexCoord[0];
  tmpvar_1[1] = gl_TexCoord[1];
  vec4 c;
  vec4 tmpvar_2;
  tmpvar_2 = (((texture2D (_MainTex, tmpvar_1[0].xy) + texture2D (_MainTex, tmpvar_1[0].zw)) + texture2D (_MainTex, tmpvar_1[1].xy)) + texture2D (_MainTex, tmpvar_1[1].zw));
  c = tmpvar_2;
  c.xyz = (tmpvar_2.xyz * _Color.xyz);
  gl_FragData[0] = (c * _Color.w);
}

