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