Files
bluflame/hgplus/ShaderMinifier/tests/real/extatique/font.fs
2026-04-18 22:31:51 +02:00

11 lines
219 B
GLSL

uniform sampler2D tex;
uniform sampler2D fill;
void main()
{
vec2 p = gl_TexCoord[0].xy;
vec4 letter = texture2D(tex, p);
vec4 fillColor = texture2D(fill, p * 3.0);
gl_FragColor = letter * fillColor * gl_Color;
}