opengl_present.frag 243 B

12345678910
  1. #version 430 core
  2. layout (location = 0) in vec2 frag_tex_coord;
  3. layout (location = 0) out vec4 color;
  4. layout (binding = 0) uniform sampler2D color_texture;
  5. void main() {
  6. color = vec4(texture(color_texture, frag_tex_coord).rgb, 1.0f);
  7. }