istereo
annotate sdr/test.v.glsl @ 11:698cbf1a1b97
foo
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Wed, 07 Sep 2011 08:25:56 +0300 |
parents | bb68fac22579 |
children | fe1cb1c567cc |
rev | line source |
---|---|
nuclear@11 | 1 //uniform mat4 matrix_modelview, matrix_projection; |
nuclear@2 | 2 |
nuclear@2 | 3 attribute vec4 attr_vertex, attr_color; |
nuclear@2 | 4 |
nuclear@2 | 5 varying vec4 var_color; |
nuclear@2 | 6 |
nuclear@2 | 7 void main() |
nuclear@2 | 8 { |
nuclear@11 | 9 //mat4 mvp = matrix_projection * matrix_modelview; |
nuclear@11 | 10 gl_Position = /*mvp */ attr_vertex; |
nuclear@2 | 11 var_color = attr_color; |
nuclear@2 | 12 } |