FragShader.fsh 195 B

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