ddnet/data/shader/bordertiletex.frag
heinrich5991 17d3f4afa4 Put shaders into the data/ directory
Simplifies a lot of things
2017-11-08 22:19:47 +01:00

15 lines
250 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;
}