qtk/resources/shaders/fragment/model-basic.frag

12 lines
168 B
GLSL

#version 330 core
out vec4 fColor;
in vec2 vTextureCoord;
uniform sampler2D texture_diffuse1;
void main()
{
fColor = texture(texture_diffuse1, vTextureCoord);
}