AntiAliasedLinesFragShader.fsh 248 B

1234567891011
  1. uniform mediump sampler2D sTexture;
  2. uniform lowp vec4 FlatColour;
  3. varying mediump vec2 TexCoord;
  4. void main()
  5. {
  6. lowp vec4 texcol = texture2D(sTexture, TexCoord);
  7. gl_FragColor = vec4(FlatColour.rgb * texcol.r, texcol.a);
  8. }