2020-02-06 04:09:16 +00:00
|
|
|
#version 330 core
|
|
|
|
in vec2 TexCoords;
|
|
|
|
out vec4 color;
|
|
|
|
|
|
|
|
uniform sampler2D image;
|
2020-02-07 13:57:09 +00:00
|
|
|
//uniform vec3 spriteColor;
|
2020-02-06 04:09:16 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2020-02-07 13:57:09 +00:00
|
|
|
//color = vec4(spriteColor, 1.0) * texture(image, TexCoords);
|
2020-02-07 04:50:19 +00:00
|
|
|
color = texture(image, TexCoords);
|
2020-02-06 04:09:16 +00:00
|
|
|
}
|