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

11 lines
146 B
GLSL

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