FragShader.fsh 230 B

1234567891011
  1. uniform sampler2D sTexture;
  2. //varying lowp float LightIntensity;
  3. varying mediump vec2 TexCoord;
  4. varying lowp vec4 LightColour;
  5. void main()
  6. {
  7. gl_FragColor = LightColour * texture2D(sTexture, TexCoord);
  8. }