mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
14 lines
259 B
GLSL
14 lines
259 B
GLSL
uniform sampler2D gTextureSampler;
|
|
|
|
uniform vec4 gVerticesColor;
|
|
|
|
noperspective in vec2 texCoord;
|
|
noperspective in vec4 vertColor;
|
|
|
|
out vec4 FragClr;
|
|
void main()
|
|
{
|
|
vec4 tex = texture(gTextureSampler, texCoord);
|
|
FragClr = tex * vertColor * gVerticesColor;
|
|
}
|