Home | History | Annotate | Download | only in raw
      1 varying lowp vec4 color;
      2 varying lowp float factor1;
      3 varying lowp float factor2;
      4 
      5 void main()
      6 {
      7     lowp vec4 texColor = texture2D(UNI_Tex0, gl_PointCoord);
      8     gl_FragColor.a = color.a * (texColor.r * factor1 + texColor.g * factor2);
      9     gl_FragColor.rgb = color.rgb;
     10 }
     11