11 lines
145 B
GLSL
11 lines
145 B
GLSL
|
|
||
|
in vec4 color;
|
||
|
in vec2 texCoord;
|
||
|
out vec4 fragColor;
|
||
|
|
||
|
uniform sampler2D tex;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
fragColor = texture2D(tex, texCoord) * color;
|
||
|
}
|