mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
11 lines
165 B
GLSL
11 lines
165 B
GLSL
#version 330 core
|
|
out vec4 FragColor;
|
|
|
|
in vec2 TexCoords;
|
|
|
|
uniform sampler2D texture_diffuse1;
|
|
|
|
void main()
|
|
{
|
|
FragColor = texture(texture_diffuse1, TexCoords);
|
|
} |