glsltest1_fragshaderB.txt 214 B

1234567891011
  1. varying highp vec2 texcoord;
  2. varying mediump vec4 basecolor;
  3. uniform sampler2D basetexture;
  4. void main(void)
  5. {
  6. mediump vec4 texlookup = texture2D(basetexture, texcoord);
  7. gl_FragColor = texlookup * basecolor;
  8. }