istereo2
view sdr/ui.v.glsl @ 7:a3c4fcc9f8f3
- started a goatkit UI theme
- font rendering with drawtext and shaders
- asset manager (only used by drawtext for now, will replace respath eventually)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 24 Sep 2015 06:49:25 +0300 |
parents | 3bccfc7d10fe |
children |
line source
1 attribute vec4 attr_vertex;//, attr_color;
2 attribute vec2 attr_texcoord;
4 uniform mat4 matrix_modelview, matrix_projection;
6 //varying vec4 vcolor;
7 varying vec2 vtexcoord;
9 void main()
10 {
11 mat4 mvp = matrix_projection * matrix_modelview;
12 gl_Position = mvp * attr_vertex;
13 //vcolor = attr_color;
14 vtexcoord = attr_texcoord;
15 }