istereo2

view sdr/color.v.glsl @ 16:1b7776cb800b

ios version done
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 01 Oct 2015 07:54:57 +0300
parents
children
line source
1 attribute vec4 attr_vertex, attr_color;
3 uniform mat4 matrix_modelview, matrix_projection;
5 varying vec4 vcolor;
7 void main()
8 {
9 mat4 mvp = matrix_projection * matrix_modelview;
10 gl_Position = mvp * attr_vertex;
11 vcolor = attr_color;
12 }