mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
cc54c4acdf
on every hardware
15 lines
251 B
GLSL
15 lines
251 B
GLSL
#version 330
|
|
|
|
uniform sampler2D textureSampler;
|
|
|
|
uniform vec4 vertColor;
|
|
|
|
noperspective in vec2 texCoord;
|
|
flat in float fragLOD;
|
|
|
|
out vec4 FragClr;
|
|
void main()
|
|
{
|
|
vec4 tex = textureLod(textureSampler, texCoord, fragLOD);
|
|
FragClr = tex * vertColor;
|
|
} |