port from perforce
This commit is contained in:
11
hgplus/ShaderMinifier/tests/real/extatique/font.fs
Normal file
11
hgplus/ShaderMinifier/tests/real/extatique/font.fs
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user