1
0
DDNet_Server/data/shader/spritemulti.frag
Your Name ff5da79d57 init
2023-04-14 23:38:34 +08:00

14 lines
259 B
GLSL
Executable File

uniform sampler2D gTextureSampler;
uniform vec4 gVerticesColor;
noperspective in vec2 texCoord;
noperspective in vec4 vertColor;
out vec4 FragClr;
void main()
{
vec4 tex = texture(gTextureSampler, texCoord);
FragClr = tex * vertColor * gVerticesColor;
}