3dexperiments/assets/shaders/font.vs

13 lines
236 B
Plaintext
Raw Normal View History

2019-12-29 02:20:57 +00:00
precision mediump float;
attribute vec2 aVertexPosition;
attribute vec2 aTexCoords;
varying vec2 uv;
uniform mat4 uTransformation;
void main() {
gl_Position = uTransformation * vec4(aVertexPosition, 0.0, 1.0);
uv = aTexCoords;
}