mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
16 lines
262 B
GLSL
16 lines
262 B
GLSL
|
#version 330
|
||
|
|
||
|
uniform sampler2D textureSampler;
|
||
|
|
||
|
uniform vec4 vertColor;
|
||
|
|
||
|
noperspective in vec2 texCoord;
|
||
|
noperspective in vec4 quadColor;
|
||
|
|
||
|
out vec4 FragClr;
|
||
|
void main()
|
||
|
{
|
||
|
vec4 tex = texture(textureSampler, texCoord);
|
||
|
FragClr = tex * quadColor * vertColor;
|
||
|
}
|