Nigel
82cf5b9c93
Model loading is complex. As such in the learnopengl.com tutorial we use assimp to make our life a little easier.
11 lines
166 B
GLSL
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);
|
|
} |