LearnOpenGL/shader.fs
Nigel 82cf5b9c93 Added model loading
Model loading is complex.
As such in the learnopengl.com tutorial we use assimp to make our life
a little easier.
2022-02-22 00:32:22 +01:00

11 lines
166 B
GLSL

#version 460 core
out vec4 FragColor;
in vec2 TexCoords;
uniform sampler2D texture_diffuse1;
void main()
{
FragColor = texture( texture_diffuse1, TexCoords);
}