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