opengl-stuff/shaders/fragment.glsl
2023-07-06 16:46:07 +03:00

14 lines
141 B
GLSL

#version 330 core
in vec2 TexCoord;
out vec4 FragColor;
uniform sampler2D tex;
void main()
{
FragColor = texture(tex, TexCoord);
}