08/shaders/quad.frag

12 lines
135 B
GLSL
Raw Normal View History

#version 420 core
in vec2 texCoord;
uniform sampler2D tex;
out vec4 color;
void main()
{
color = texture(tex, texCoord);
}