Blit.frag.glsl 405 B

12345678910111213141516
  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 sampler2D u_tex;
  7. layout(location = 0) in vec2 in_uv;
  8. layout(location = 0) out vec3 out_col;
  9. void main()
  10. {
  11. out_col = textureLod(u_tex, in_uv, 0.0).rgb;
  12. }