ddnet/data/shader/bordertiletex.frag

16 lines
243 B
GLSL
Raw Normal View History

#version 330
uniform sampler2D textureSampler;
uniform vec4 vertColor;
2018-03-13 20:41:37 +00:00
uniform float LOD;
noperspective in vec2 texCoord;
out vec4 FragClr;
void main()
{
2018-03-13 20:41:37 +00:00
vec4 tex = textureLod(textureSampler, texCoord, LOD);
FragClr = tex * vertColor;
}