3dexperiments/assets/shaders/font.fs
2019-12-29 04:20:57 +02:00

11 lines
168 B
GLSL

precision mediump float;
varying vec2 uv;
uniform vec3 uColor;
uniform sampler2D texture0;
void main() {
gl_FragColor = vec4(uColor, texture2D(texture0, uv).a);
}