mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
c85ffb90af
This reverts commit 3eab3f5eb7
.
14 lines
255 B
GLSL
14 lines
255 B
GLSL
uniform sampler2D textureSampler;
|
|
|
|
uniform vec4 VerticesColor;
|
|
|
|
noperspective in vec2 texCoord;
|
|
noperspective in vec4 vertColor;
|
|
|
|
out vec4 FragClr;
|
|
void main()
|
|
{
|
|
vec4 tex = texture(textureSampler, texCoord);
|
|
FragClr = tex * vertColor * VerticesColor;
|
|
}
|