learn-opengl/04-transformations/shaders/4.2.texture.fs
2026-08-21 13:15:55 -04:00

13 lines
165 B
GLSL

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