12 lines
160 B
GLSL
12 lines
160 B
GLSL
#version 330 core
|
|
|
|
layout(location = 0) out vec4 fragColor;
|
|
|
|
in vec2 texcoord;
|
|
|
|
uniform sampler2D tex;
|
|
|
|
void main()
|
|
{
|
|
fragColor = texture(tex, texcoord);
|
|
}
|