13 lines
175 B
GLSL
13 lines
175 B
GLSL
#version 330 core
|
|
out vec4 FragColour;
|
|
|
|
in vec4 ourColour;
|
|
in vec2 TexCoord;
|
|
|
|
uniform sampler2D ourTexture;
|
|
|
|
void main()
|
|
{
|
|
FragColour = texture(ourTexture, TexCoord);
|
|
}
|