istereo

view sdr/test.v.glsl @ 12:9890940948f7

fucking reshape wasn't getting called...
author John Tsiombikas <nuclear@mutantstargoat.com>
date Wed, 07 Sep 2011 08:30:24 +0300
parents bb68fac22579
children fe1cb1c567cc
line source
1 //uniform mat4 matrix_modelview, matrix_projection;
3 attribute vec4 attr_vertex, attr_color;
5 varying vec4 var_color;
7 void main()
8 {
9 //mat4 mvp = matrix_projection * matrix_modelview;
10 gl_Position = /*mvp */ attr_vertex;
11 var_color = attr_color;
12 }