mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
13 lines
204 B
GLSL
13 lines
204 B
GLSL
|
#version 330
|
||
|
|
||
|
uniform sampler2D textureSampler;
|
||
|
|
||
|
uniform vec4 vertColor;
|
||
|
|
||
|
noperspective in vec2 texCoord;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 tex = texture2D(textureSampler, texCoord);
|
||
|
gl_FragColor = tex * vertColor;
|
||
|
}
|