LesDingeriesDeDjalimSurOpenGL/assets/shaders/fragment.glsl
2025-10-24 09:50:55 +02:00

12 lines
199 B
GLSL

#version 330 core
out vec4 FragColor;
in vec2 TexCoord;
uniform sampler2D ourTexture;
void main()
{
//FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f);
FragColor = texture(ourTexture, TexCoord);
}