texturedquad.frag 111 B

123456789
  1. uniform sampler2D tex;
  2. in vec2 uv;
  3. out vec4 FragColor;
  4. void main()
  5. {
  6. FragColor = texture(tex, uv);
  7. }