Blit.frag.glsl 415 B

1234567891011121314151617
  1. // Copyright (C) 2009-2017, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #include "shaders/Common.glsl"
  6. layout(ANKI_TEX_BINDING(0, 0)) uniform lowp sampler2D uTex;
  7. layout(location = 0) in vec2 inTexCoords;
  8. layout(location = 0) out vec3 outColor;
  9. void main()
  10. {
  11. outColor = texture(uTex, inTexCoords).rgb;
  12. }