TIC-80-guile/data/shaders/common.frag

11 lines
145 B
GLSL
Raw Normal View History

2018-02-19 21:03:35 +01:00
in vec4 color;
in vec2 texCoord;
out vec4 fragColor;
uniform sampler2D tex;
void main(void)
{
fragColor = texture2D(tex, texCoord) * color;
}