14 lines
183 B
GLSL
14 lines
183 B
GLSL
#version 330 core
|
|
out vec4 FragColor;
|
|
|
|
in vec3 ourColor;
|
|
in vec2 TexCoord;
|
|
|
|
// texture sampler
|
|
uniform sampler2D texture1;
|
|
|
|
void main() {
|
|
FragColor = texture(texture1, TexCoord);
|
|
}
|
|
|