2014-05-15 13:29:23 +00:00
|
|
|
#version 150
|
|
|
|
|
|
|
|
uniform sampler2D texture;
|
|
|
|
|
|
|
|
in vec2 tex_coord;
|
|
|
|
|
2018-05-20 12:06:24 +00:00
|
|
|
out vec4 fragColor;
|
|
|
|
|
2014-05-15 13:29:23 +00:00
|
|
|
void main()
|
|
|
|
{
|
|
|
|
// Read and apply a color from the texture
|
2018-05-20 12:06:24 +00:00
|
|
|
fragColor = texture2D(texture, tex_coord);
|
2014-05-15 13:29:23 +00:00
|
|
|
}
|