/Resources/shaders/basicTexture.fsh

http://github.com/tartiflop/ojgl · Fragment Shader File · 8 lines · 5 code · 3 blank · 0 comment · 0 complexity · ac49cdf6a83715bffa9e1773c99b8451 MD5 · raw file

  1. varying vec2 v_texCoord;
  2. uniform sampler2D s_texture;
  3. void main(void) {
  4. gl_FragColor = texture2D(s_texture, v_texCoord);
  5. }