2016-06-07 13:54:14 +00:00
|
|
|
#version 330 core
|
|
|
|
in vec2 texCoord;
|
|
|
|
|
|
|
|
out vec4 color;
|
|
|
|
|
2016-06-07 15:35:00 +00:00
|
|
|
uniform sampler2D tex;
|
2016-06-07 13:54:14 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2016-06-07 15:35:00 +00:00
|
|
|
color = texture(tex, texCoord);
|
2016-06-07 13:54:14 +00:00
|
|
|
}
|