3dexperiments/assets/shaders/font.fs

11 lines
168 B
Forth
Raw Normal View History

2019-12-29 02:20:57 +00:00
precision mediump float;
varying vec2 uv;
uniform vec3 uColor;
uniform sampler2D texture0;
void main() {
gl_FragColor = vec4(uColor, texture2D(texture0, uv).a);
}