FragShader.fsh 203 B

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