vrshoot
diff sdr/color.v.glsl @ 0:b2f14e535253
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 01 Feb 2014 19:58:19 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sdr/color.v.glsl Sat Feb 01 19:58:19 2014 +0200 1.3 @@ -0,0 +1,8 @@ 1.4 +attribute vec4 attr_vertex; 1.5 + 1.6 +uniform mat4 st_world_matrix, st_view_matrix, st_proj_matrix; 1.7 + 1.8 +void main() 1.9 +{ 1.10 + gl_Position = (st_proj_matrix * st_view_matrix * st_world_matrix) * attr_vertex; 1.11 +}