learn-opengl/24-cubemaps/shaders/4.2.texture.fs
2026-09-03 14:51:53 -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);
}