PivotQuadFragShader.fsh 255 B

1234567891011
  1. uniform lowp sampler2D sTexture;
  2. uniform lowp vec4 Colour;
  3. varying mediump vec2 TexCoord;
  4. void main()
  5. {
  6. // Multiply the texture colour with the constant colour
  7. gl_FragColor = texture2D(sTexture, TexCoord) * Colour;
  8. }