istereo2

diff 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 diff
     1.1 --- a/sdr/ui.v.glsl	Wed Sep 23 05:44:58 2015 +0300
     1.2 +++ b/sdr/ui.v.glsl	Thu Sep 24 06:49:25 2015 +0300
     1.3 @@ -1,15 +1,15 @@
     1.4 -attribute vec4 attr_vertex, attr_color;
     1.5 +attribute vec4 attr_vertex;//, attr_color;
     1.6  attribute vec2 attr_texcoord;
     1.7  
     1.8  uniform mat4 matrix_modelview, matrix_projection;
     1.9  
    1.10 -varying vec4 vcolor;
    1.11 +//varying vec4 vcolor;
    1.12  varying vec2 vtexcoord;
    1.13  
    1.14  void main()
    1.15  {
    1.16  	mat4 mvp = matrix_projection * matrix_modelview;
    1.17  	gl_Position = mvp * attr_vertex;
    1.18 -	vcolor = attr_color;
    1.19 +	//vcolor = attr_color;
    1.20  	vtexcoord = attr_texcoord;
    1.21  }