istereo2

annotate sdr/ui.v.glsl @ 21:8f41da60b9f5

revert accidentally commited ui change
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 02 Oct 2015 04:55:54 +0300
parents 3bccfc7d10fe
children
rev   line source
nuclear@7 1 attribute vec4 attr_vertex;//, attr_color;
nuclear@6 2 attribute vec2 attr_texcoord;
nuclear@6 3
nuclear@6 4 uniform mat4 matrix_modelview, matrix_projection;
nuclear@6 5
nuclear@7 6 //varying vec4 vcolor;
nuclear@6 7 varying vec2 vtexcoord;
nuclear@6 8
nuclear@6 9 void main()
nuclear@6 10 {
nuclear@6 11 mat4 mvp = matrix_projection * matrix_modelview;
nuclear@6 12 gl_Position = mvp * attr_vertex;
nuclear@7 13 //vcolor = attr_color;
nuclear@6 14 vtexcoord = attr_texcoord;
nuclear@6 15 }