2018-01-21 21:43:22 -05:00
|
|
|
uniform sampler2D tex;
|
|
|
|
|
|
|
|
in vec2 uv;
|
2020-04-30 21:34:04 -04:00
|
|
|
in vec4 color;
|
2018-01-21 21:43:22 -05:00
|
|
|
out vec4 FragColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2020-04-30 21:34:04 -04:00
|
|
|
vec4 res = texture(tex, uv);
|
|
|
|
FragColor = res * color;
|
2018-01-21 21:43:22 -05:00
|
|
|
}
|