mirror of
https://gitcode.com/gh_mirrors/le/LearnOpenGLProject.git
synced 2025-08-06 18:24:22 +08:00
10 lines
161 B
GLSL
10 lines
161 B
GLSL
#version 330 core
|
|
out vec4 FragColor;
|
|
|
|
in vec2 TexCoords;
|
|
|
|
uniform sampler2D texture_diffuse1;
|
|
|
|
void main(){
|
|
FragColor = texture(texture_diffuse1, TexCoords);
|
|
} |