ddnet/data/shader/tiletex.frag
def 3eab3f5eb7 Revert Jupeyy's OpenGL changes
Emergency-revert for 14.5.1 release, too many problems
2020-08-26 20:03:22 +02:00

16 lines
244 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;
}