1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#version 430 #ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; #else precision mediump float; #endif uniform sampler2D textu; in vec2 texCoord; out vec4 FragColor; void main() { FragColor = texture(textu, texCoord); }